473,544 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

4
5,061
thread by: tshad | last post May 19 '07 by: Herfried K. Wagner [MVP]
I have a program that is reading a .csv file into a dataset and works fine except that it is dropping the first line. I assume that is because it is dropping the header. The problem is the first line is not a header. This was working before and I am not sure what caused it not to work. I am using OleDbDataAdapter. Dim ConStr As String...
4
895
thread by: =?Utf-8?B?U21hcnRSb3Nz?= | last post May 20 '07 by: =?UTF-8?B?R8O2cmFuIEFuZGVyc3Nvbg==?=
I am making a web browser, and have accidentaly posed this question to the wrong newsgroup. I have a block in my code which is this: If TextBox1 = < Then WebBrowser1.GoBack() End If The response that I got from the other newsgroup was that I was stating that TextBox1 had to be smaller than 'then'. I now realise this, but I want to know...
4
2,121
thread by: AxOn | last post Jun 4 '07 by: PlatinumBay
Hi, Does anybody know how to get an application do something at a specific time or date? I want to be able to choose when to back up some files, for example once a month, once a week or every hour. Thanks!
4
1,428
thread by: Trevor Benedict R | last post May 24 '07 by: Trevor Benedict R
Hi, Does anybody have a workaround for this problem http://support.microsoft.com/kb/827043 What I am trying to achieve is to to display an Icon in the System Tray and on the right click event, I want to display a Menu with Icons. Thanks & Regards, Trevor Benedict
4
6,233
thread by: fniles | last post May 22 '07 by: Bill Nguyen
I am looping thru DataReader and constructing a sql query to insert to another database. When the data type of the field is string I insert the field value using a single quote. When the value of the field has a single quote in it like "O'Toole", how can I construct the string ? Do While drSQL.Read sSQL = "insert into " & sTableName & "...
4
1,637
thread by: BB206 | last post May 25 '07 by: BB206
Is there any place or method to hold or pass some global variables, ie user name, user level..., that can be shared within the whole application which has a lot of dll and user defined components? I am work on Visual Basic 2002. Thanks a lot!
4
1,695
thread by: meo | last post May 24 '07 by: meo
Does .NET provide the way to deploy library to internal developer? I am trying to find the way to deploy a library file to developer for having integration to their application BUT the customer who is using that application will not use that library file. If I choose to deploy like a DLL file, the DLL file will deploy to the customer. I...
4
5,842
thread by: Rob | last post May 24 '07 by: Herfried K. Wagner [MVP]
Hi, I have a small VB.Net program that reads in an HTML file using a FileStream (this file was created by MS Word "Save as HTML" feature), uses regular expressions to remove all unwanted code and then re-writes the file. It works fine but when I execute this on a french web page...the StreamWriter removes all of the french characters....
4
3,928
thread by: Jim | last post May 25 '07 by: jim
Maybe I am making this too difficult; but I have the following issue: A record contains a price for a specific Start Date and End Date. If the user adds a new price, I need to make sure the Start Date doesn't overlap something that already exists. Meaning the new Start Date should not overlap the existing Start Date and End Date. Since I...
4
2,449
thread by: =?Utf-8?B?bGpsZXZlbmQy?= | last post May 25 '07 by: =?Utf-8?B?bGpsZXZlbmQy?=
Is there any way to create an instance of the control that is used by System.Drawing.Design.ColorEditor (i.e., the control that appears when you click on a color in a PropertyGrid)? I want to allow the user to select a color from within my app (but not from a PropertyGrid). The control that is used by the ColorEditor is perfect but I can't...
4
4,346
thread by: BiT | last post May 25 '07 by: Spam Catcher
Hi i'm trying to code simple nntp client with vb.net and sockets client class the problem is the machine keep stuck (probbley beacuse it ain't gettin` data from the server) after the user name sent to the server when it's try to read the stream, i checked it out in telnet and server send stream after i send the user name any idea why it's...
4
3,287
thread by: airwot4 | last post May 27 '07 by: Matt F
Hi all, I'm sure this is simple to answer but I have built a project exited VB Express. When I go back into VB Express and open the project no files appear (but I can open them manually) and when I open my form designer it comes in code, I am unable to access the design view as the shift- F7 function is not there in the view menu.
4
11,759
thread by: active | last post May 27 '07 by: active
I've been looking for a way to determine the DPI (PPI) of the screen. I've found often the suggestion to use: Dim height As Integer = My.Computer.Screen.Bounds.Height Dim width As Integer = My.Computer.Screen.Bounds.Width but that gives the total number of pixels not the DPI (which is usually 96 for pc's).
4
4,710
thread by: Q | last post May 28 '07 by: Michael M.
Hello you all, I have to write a .NET application (VB.NET) where the user can open spreadsheets, word documents, pdf documents, textfiles.... from within the same window. I was thinking of using a RichTextBox but that doesn't seem to do the job. The files itselfs come from within a SQL-database. They are stored as a binary field (using...
4
1,859
thread by: John Dann | last post May 29 '07 by: Michael C
I'm trying to generate a 4-byte unsigned integer in VB2005 that encodes a number of bit-level variables. What I need to do is to be able to compute a value for the uint that is based on specific values for the constituent variables; the unit can then be passed to an external DLL, which requires a function parameter in this form. ...
4
4,440
thread by: Vicente García | last post May 30 '07 by: Vicente García
Hi, I have a problem, I am working with Visual Basic and I need to save a image in GIF format but Visual Studio always save the file in GIF89 format and I must save the image in GIF87 format. May anyone please tell me how I could save the image in GIF87 format or how I could convert a image format to GIF87? Thanks in advance
4
1,545
thread by: shane | last post May 29 '07 by: shane
I am trying to get values from a WMI Query in my textbox, txtResults I don't think I am understand what I need to do to move the value from the for each statement in the quary into the textbox, as the default implementation just provides for outputing information in the console. ' this wont work and when i try to replace the console writeline...
4
7,882
thread by: Rob | last post May 30 '07 by: Herfried K. Wagner [MVP]
This should be simple..... The default BackColor of a button (if you look at its property) is "Control" its a gray color, but apparently not a color. During a process I set the BackColor of a button to another color by using.... Me.Button.BackColor = Color.Yellow
4
13,086
thread by: G E W hittle | last post May 30 '07 by: G E W hittle
I have a directory of tiff files. I need to loop thru the files and count the number of pages in each file. Can someone point me to where this info is stored? GW
4
1,218
thread by: Lou | last post May 31 '07 by: Lou
Is there a class wizard like in VB6 to create a collection class? I have class1 and want a class collection of class1's -Lou
4
1,473
thread by: Craig Buchanan | last post Jun 2 '07 by: Craig Buchanan
I am trying to save a MemoryStream (the attachment's Data property) to disk using a FileStream. It seems that the MemoryStream's Read method is the issue. The MemoryStream's size is 6680 bytes and its Position is 0. Here's the code: .... For Each attachment As Attachment In Attachments Using FS As New FileStream(app_data & fileName,...
4
1,261
thread by: Lou | last post Jun 2 '07 by: Lou
I am using the rs232 control and when I get the datareceived and try to assign it to a textbox I get some sort of thread message error -Lou
4
1,123
thread by: Vic | last post Jun 15 '07 by: Vic
I had developed a web project on my laptop and never checked the solution into sourcesafe nor did i back up the project or any of the supporting files. i have published it to a web server and it is running smoothly. my laptop crashed however and i cannot recover the solution - is there any way to reverse engineer the code from the dll...
4
1,345
thread by: Jim | last post Jun 4 '07 by: Spam Catcher
I there a way to return values for multiple variable from a fuction. The following does not work because it give me a syntax error Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim a As Integer, b As Integer, c As Integer = 1 Dim d As Boolean = False MsgBox(a & " " & b & " " &...
4
5,986
thread by: buzzluck68 | last post Jun 6 '07 by: buzzluck68
Hello, I am having trouble upgrading my VB apps to .net. When i started at my company there was a dll created here in vb6, and i need to use that dll for many functions that would take too much time to re-create for the limit that i am given. I have to create a new app in .net, per my instructions, but the dll uses variant arrays, and i...

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.