473,539 Members | 5,028 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

14
8,770
thread by: libs | last post Nov 20 '05 by: libs
I have A.exe that should catch the return code of B.exe (both are written in VB.net) so A.exe can continue processing other commands. but A.exe cannot catch B's return code so an exception is not thrown as the program should. here's my code for A.exe procEXE = Process.Start(PROGRAM_NAME procEXE.WaitForExit( If procEXE.HasExited The If...
2
1,220
thread by: Juan Romero | last post Nov 20 '05 by: Juan Romero
Guys, Has anyone tried to make a program to convert Word Documents to HTML? Can someone give me some ideas for approaching this? If you know of a good component out there that I can use for this purpose, please reply to this message too. If I can't make one, I would like server component or DLL that I can use programmatically. I have...
1
1,804
thread by: Jay Banks | last post Nov 20 '05 by: Armin Zingler
I know this was recently posted in reference to a textbox, but I'm having a similar problem, and can't keep it from beeping. I'm using a NumericUpDown control instead of a textbox. I've tried this code in the KeyPress and the KeyDown events. None of the below code prevents the beep. If e.KeyCode = Keys.Enter Then e.Handled = True ......
2
1,707
thread by: ayoubahmed | last post Nov 20 '05 by: ayoubahmed
Hi,, Im trying to print invoices in VB.net, and the invoice is 8.5 x 8.5 inches. Now i have to specify the new height, but when i do specify it using the following commands ------------------------------------------------ PrintDocument1.DefaultPageSettings.PaperSize.Height = 8.5 PrintDocument1.DefaultPageSettings.PaperSize.Width = 8.5 ...
1
1,993
thread by: Lee Gillie | last post Nov 20 '05 by: Lee Gillie
What is the proper way to cancel a pending BeginReceive/EndReceive ? Can it be done without generating an exception ? Currently I shutdown and close the socket. The blocking "EndReceive" throws System.ObjectDisposedException. I try to avoid throwing exceptions when ever possible, and reserve them for unanticipated problems. Trying to...
3
947
thread by: CJ Taylor | last post Nov 20 '05 by: CJ Taylor
Hey does anyone know of a good source for some open source input controls. Primarly a masked textbox of some kind. I have had problems with the MSMaskedTextBox ActiveX component in the past and didn't want to spend the time to re-write everything. peace, cege
1
1,044
thread by: Raterus | last post Nov 20 '05 by: Ken Tucker [MVP]
Does anyone know of some code samples that will parse a string field into an array of strings, but do it like a search engine would. I'm sure this would be fun to do it myself, but if an algorithm already exists that would do a much better job, I'm all for it. Basically it would take something like this "a field", another field, search on...
2
987
thread by: KC | last post Nov 20 '05 by: Ken Tucker [MVP]
This is a stupid question, but how do you (can you) 'draw' on a form? I just want to highlight or enhance parts of a form with a line here, a box there, etc. This was once possible on earlier versions of VB (I recently bought VB.net, my last one before this was VB4). I have my image editor toolbar, but everything is greyed out. I know (hope)...
2
1,359
thread by: Jarod | last post Nov 20 '05 by: Herfried K. Wagner [MVP]
Hell I tried to make a watermark... So . I have a picturebox1.. Picturebox1.creategraphic.drawString("Jarod Ltd.",... and it works.. But when I do dim img as imag img = picturebox1.image img.save("c:\test.jpg"
10
1,258
thread by: msnews.microsoft.com | last post Nov 20 '05 by: scorpion53061
How can I disable a beep when I press Enter on TexBox I'm trying this but it don't work: I do it in KeyDown event If e.KeyCode = Windows.Forms.Keys.Enter Then ' Do something ... e.Handled = True End If
1
965
thread by: chris | last post Nov 20 '05 by: Herfried K. Wagner [MVP]
hi i need to write a vb script to change the file extension of some files. the files i rec is like this filename.pdf.dat I need to remove the .dat so that my pdf reader can open the file. wher can i find some information on this thanks
1
878
thread by: Sumit Gupta | last post Nov 20 '05 by: Herfried K. Wagner [MVP]
Hi... Can any one tell me how to print the formLike we did in Vb 6 Form1.print is there any thing like that in VB Also how to print Save Text if we made Notepad in Vb .Net Sumit
6
1,839
thread by: rena | last post Nov 20 '05 by: Herfried K. Wagner [MVP]
Hi All, I would like to make a about dialog which have the effect like setting the main form enable = false, and when it closed main form will return enable. I remember that in VB6 there is some ways to do it and pass a parent parameter to the function. I would like to know how should it be done in the standard VB dotnet worlds. Thanks...
1
1,417
thread by: Prabhat | last post Nov 20 '05 by: Eric Sabine
Hi All, Sorry that I am Asking this question in this Group. I have one doubt in SQL Server, Regarding how DELETE Works? What is the Actual Thing that SQL Server Do when we delete any record from the Database Table? Does it maintain any Falg Internally or actually Delete the Record from Database?
1
13,506
thread by: simchajoy2000 | last post Nov 20 '05 by: Herfried K. Wagner [MVP]
Hi, I know how to find out what the window state of a vb.net form is programmatically, but I want to be able to capture the event of maximizing/minimizing a window when it happens. Is there any way to do this? Joy
2
837
thread by: Scott | last post Nov 20 '05 by: Scott
Hi, When a column on a listview is resized, which event fires? Thanks
6
1,318
thread by: Eric Sabine | last post Nov 20 '05 by: Mick Doherty
Basically, the following code creates a menuItem array and tries to use it twice. In the following piece of code, only the line that appears second gets used. The first becomes ignored presumably when the second is run. Me.mnuFile.MenuItems.AddRange(myMenu) Me.ContextMenu1.MenuItems.AddRange(myMenu) Below I've included just enough code...
9
3,141
thread by: rena | last post Nov 20 '05 by: rena
Hi, Is timer in VB .Net and VB6 using the arhitecture of thread ? could i use timer as multi-threading purpose? and what would be it's drawback? Thanks. Rena.
0
1,050
thread by: Helen | last post Nov 20 '05 by: Helen
I have a simple oledb dataset on one windows form in vb .net 2002 calling one column from oracle 7, results appear in a text box But, only the first results appears. Goal is to show all results in a drop down, then the user can choose one or several (do I pass these results to a separate text box?), and then pass the results (in the separate...
3
1,721
thread by: Chris Botha | last post Nov 20 '05 by: Andrew Martin
I have a Windows app (it will be promoted to a Service once this problem is sorted out) that cyclically, every minute, connects to five SQL Servers over the WAN, extract data and insert the data in a local SQL Server, using the OLEDB provider. Every cycle I create one local connection and five remote connections, do the stuff, close the...
1
1,009
thread by: Agnes | last post Nov 20 '05 by: William Ryan eMVP
my tables got over 100,000 records (e.g invoice records) If the user search the 4000th record . invoice number 40000 How can I only return "no.3900 to no.4100" records, but not whole tables, I need to return 200 records and allow the user move the record position. E.g the user input no.4000, as he/she press "previous" it will return 3999th...
1
1,123
thread by: Robin Tucker | last post Nov 20 '05 by: Armin Zingler
Ouch. I've got a nasty problem here. I need to load a tree structure into a treeview from a database. I've just tested it with 10,000 items and its dog slow (one of the main reasons is because I am manually "filtering" the items with my own filtering structures). What I want to do is run a thread which constructs the TreeView (and nodes)...
2
1,098
thread by: Lumpierbritches | last post Nov 20 '05 by: Ken Tucker [MVP]
Is there an API call to get registry information for the CD Key in Windows and other applications that would be installed, if someone were to loose the key or misplace it. I'm attempting to write an application that will recover these keys for my internal use. Any help would be appreciated. This is a second post, the first one, someone...
0
783
thread by: belgie | last post Nov 20 '05 by: belgie
I have created a setup project to deploy a web application. This setup project works fine, and the web application is installed correctly When running the setup project, how can I specify the web site on the web server where the application should be installed Thank Bil
1
1,484
thread by: Mark | last post Nov 20 '05 by: Herfried K. Wagner [MVP]
Hello. I use streamreader for reading textfile. In File I have 10 lines. In each lines I have 4 words For example: ***** Mark Anthony Street Town Peter Frank SSS TTT ... ....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.