 |
 | How to get an answer to your question |  | Chris Maunder | 17:30 10 Nov '05 |
|
|
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- If you are posting source code with your question, place it inside <pre></pre> tags, or click the "Ignore HTML tags in this message" check box.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers, Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
 |
 | Does VB support partial classes? [modified] |  | PIEBALDconsult | 6hrs 41mins ago |
|
|
I'm beginning to work on a piece of code generation. It's primarily for C#, but I thought I'd include support for VB because I'm a nice guy.
Do I understand correctly that VB doesn't support partial classes?
Add: Thanks for the answers, guys.
modified on Thursday, January 22, 2009 4:19 PM
|
|
|
|
 |
|
|
 |
|
|
You really think VB programmers don't do things by halves?
|
|
|
|
 |
|
|
Sure does. VS2005 (.NET 2.0) and above...
|
|
|
|
 |
 | 3rd party software suggestions. |  | Cory Kimble | 7hrs 16mins ago |
|
|
I am posting this questions here because I am a vb .net programmer that is writing a vb .net program that needs a third party software.
I was wondering if anyone here knew of any software that can do the following.
I have a PDF with and image of a shipping label. I want to read the hub number from it.
My proposed solution: Find 3rd party utility that i can call from my program to read the image and get me the hub number data. But, I have search many hours trying to find a software that has commandline plus use ocr to read image plus be able to red image from a pdf.
Any suggestions?
Thanks
|
|
|
|
 |
|
|
There is a free OCR project called Tesseract that was done by UNLV in C, and was eventually ported to C++ and they now have a .NET version called Tessnet2. I believe it was also picked up by Google, or soemthing like that. Anyhow, I've not used it myself, but was looking into it a while back. Our project was cancelled, so I never got to play with it .
Keep It Simple Stupid! (KISS)
|
|
|
|
 |
|
|
Hi,
I have created a custom resx file. And I am trying to add it to my project as embedded resource...
There are two identical files (except for the file name) prolang.cz.resx prolang.hr.resx
prolang.cz.resx is embedded OK (checked it with MSIL dissambler) but the other one just won't...
I have tried cleaning, restart IDE, restarting computer, deleting bin and obj folders...
no luck.
Any ideas?
Thanks.
|
|
|
|
 |
|
|
Try changing the name of the second one so it is not prolang.*.resx.. try prolandhr.resx, perhaps it doesn't like the double extension.
|
|
|
|
 |
 | How to convert VB 6.0 application to support Greek Regional settings? |  | solomondevapaul123 | 13hrs 29mins ago |
|
|
Our application has used date format function, decimal separator and thousand separator in many places and database is MS Access. So, we want to know if there is any straight conversion technique that would enable our application to support Greek regional settings.
|
|
|
|
 |
|
|
Google for "VB6 localization" for some tools that will help you do this. Of course, you may have to re-write some of the code depending on how data was stored in your database and if you have any hard-coded formatting strings.
|
|
|
|
 |
 | Windows application compatible with Mac Operating system |  | pavanip | 14hrs 33mins ago |
|
|
Hi,
I have developed one windows application using vb.net. I have setup that application on windows operating system its working fine on windows os. Now I am trying to do that exe run on Mac operating system. Is there any other know the solution how the windows application compatible with Mac operating system. To support vista os I created manifest file and resource script files.Please help me how the windows application compatible with Mac operating system.
Thanks Pavani
|
|
|
|
 |
|
|
Please download mono from URL : mono-downloads[^]
And compile your vb.net project using mono vb compiler then you can port compiles executable onto Mac as well other Linux flavors.
For more info : mono project[^]
Thanks  Ashu
dnpro "Very bad programmer"
|
|
|
|
 |
|
|
You cannot run the same .EXE file on a Mac and expect it to work.
There are two possibilities. You can run Windows inside a virtual machine on the Mac. You'll need virtual machine software and a licensed copy of Windows, then install the .NET Framework on it, and you'll then be able to run your app in the virtual machine.
The second method is what has already been proposed. Get Mono and compile your code using that framework. You'll, more than likely, have to rewrite parts of your app to get it to work completely, since Mono is NOT a 100% replacement for the .NET Framework.
|
|
|
|
 |
 | not able to disconnet the mapped drive with "NET USE" command in VB6 |  | Ankur.Bakliwal | 15hrs 6mins ago |
|
|
Hi,
My VB6 program is using NET USE command to connect the remote folder to get some files. This program also disconnects after the processing of the files by using following command- net use \\10.10.0.234\abc_folder /delete At above command line, my program gets hanged
When i run the above command in DOS command prompt, its giving me following error -
There are open files and/or incomplete directory searches pending on the connection to \\10.10.0.234\abc_folder
Is it OK to continue disconnecting and force them closed? <Y/N> [N]:
Does anybody know about the error and solution...
Please help me by giving solution ASAP.....
Thanks In Advance---
Ankur Bakliwal Mumbai, India
Thanks, Ankur Bakliwal
|
|
|
|
 |
|
|
Try this command while disconnecting :
net use \\10.10.0.234\abc_folder /delete /y
I hope this will resolve the issue 
Thanks Ashu
dnpro "Very bad programmer"
|
|
|
|
 |
|
|
 |
|
|
Hello friends...
I am facing one problem in datagridthat is when i click on the header of column rows are going to be ordered.
i dont want user to order rows in this way..
Posts are welcome
Thanks in advance...
|
|
|
|
 |
|
|
Please try this :
set AllowUserToOrderColumns property of datagridview control to false as follows:
datagridView1.AllowUserToOrderColumns=False.
Alternatively if you are using visual studio designer, you set it via properties window.
Hope this will give a solution
Thanks Ashu
dnpro "Very bad programmer"
|
|
|
|
 |
|
|
Thakns ashu fouzdar. I'm sure that GridName.Allowusertoordercolumns is already false even Problem persist there.
When i click on the header row are going to order.
Please give solution...
|
|
|
|
 |
|
|
Here is a solution, I hope this will work for you also
Private Sub Grid_DataSourceChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Grid.DataSourceChanged
Try For Each clmn As DataGridViewColumn In Grid.Columns clmn.SortMode = DataGridViewColumnSortMode.NotSortable Next Catch ex As Exception Logger.Error(ex.ToString()) End Try End Sub
Here you have to catch the DataSourceChanged event of DataGridView, and to insert the code for setting SortMode to NotSortable for columns you require to be not sortable.
Please let me know for any queries.
dnpro "Very bad programmer"
|
|
|
|
 |
 | Export DataGridView to Excel And Word WithOut Ms Excel And Word |  | mehrnoosh | 19hrs 50mins ago |
|
|
 |
|
|
 |
|
|
Hi,
You can use following library for exporting to Excel : CarlosAg Excel Xml Writer Library[^]
And for exporting to word :
Gios WORD .NET Library (using RTF specification)[^]
For exporting to word/excel, you must have to iterate through Row of datagridview rows, using following code snippet
For Each currentRow As DataRow In DataGridView1.Rows 'Use the values in current cell using following syntax. currentRow.Cells(0).Value currentRow.Cells(1).Value currentRow.Cells(3).Value 'until all cells are covered. Next
Alternatively if you are looking for only copying the data to excel/word, just select the data copy using (ctrl+c) and paste to word/excel (This will work with .NET framework version 2.0 and greater).
Hope I answered your query.
Thanks, Ashu
dnpro "Very bad programmer"
|
|
|
|
 |
 | Scrollbar height and width |  | blackfin | 21hrs 21mins ago |
|
|
Hi, Forgive me if this is a silly question. I'm new to this.
How can one find out the height and width of the scrollbars of a treeview control?
I have a treeview which i'm trying to resize when the form is resized. I'm doing this;Me.TreeView1.Height = Me.ClientSize.Height - x I need to figure out 'x' so that the scrollbar stays inside the form!
|
|
|
|
 |