473,538 Members | 2,690 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

4
4,510
thread by: thomasc1020 | last post Jan 23 '08 by: Stephany Young
This is regarding VB.NET 2003. Variable 'Date' is a string and it contains date information in this format: "DEC/05/2007". Now I am trying to convert the format as "2007-12-05". Is it possible to convert the arrangement using 'Format' method? If so, please educate me how I can do such operation. Thank you!
4
3,270
thread by: Academia | last post Dec 25 '07 by: Academia
My .chm file is an embedded resource so when I use it GetManifestResourceStream returns a Stream which I convert into a temp file. Then I try Help.ShowHelp(Me, tempFileFullPath, "Shortcuts.htm") which does not work.
4
3,467
thread by: =?Utf-8?B?R3V5IENvaGVu?= | last post Dec 25 '07 by: =?Utf-8?B?R3V5IENvaGVu?=
Hi all I tried the (good old...)vb6 command debug.print and it does not work in vb.net 2005 I googled some and found these samples: Debug.WriteLine("hello") Console.WriteLine("hello") Trace.WriteLine("hello")
4
5,435
thread by: Rohan | last post Dec 27 '07 by: VisualHint
I need to use the Collection editor of the propertyGrid, but i can't this to work, i looked around on the NET on collection and I am kinda lost. i have this so far, i don't know what i should do next Thank you Public class frmColor Dim xColors As New myColors
4
36,331
thread by: vbDavidC | last post Feb 5 '08 by: =?Utf-8?B?SmVmZiBD?=
I have an unbound grid that is on my form (not created programmatically). I stretched the size to what I think is wide enough to accomodate the 6 columns I will be creating. I plan on making the width wide enough so that you don't have to scroll to the right. I want to know if there is a property to resize the width programmatically in...
4
1,478
thread by: Academia | last post Dec 27 '07 by: Academia
Regex class has the option ECMAScript which can set. I searched the Internet and got about a million hits that reference ECMAScript but none that defined it. Can you tell me what it is used for. I let the user of my text editor search using regular expressions and do not know if I should set that option or not. What would seem the most...
4
2,754
thread by: =?Utf-8?B?R3V5IENvaGVu?= | last post Dec 29 '07 by: CMoya
Hi all I googled some and found that I can no longer - dim withevents myclassname() I also understand that I can use addhandler... But... what if I do not know the amount of classes that will be created ?.... What am I trying to do: I have a process that scans a directory for files tranxxxxx.txt for each transaction file I want to create...
4
1,381
thread by: Fred | last post Dec 29 '07 by: =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=
I have a number of files that I need to zip up and upload to a web site. Can anyone tell me how to create a .zip file and add files to the .zip file. You can assume that the PC on which this program will be run will have XPPro or Vista. Thanks for your help Fred
4
974
thread by: =?Utf-8?B?R2Vy?= | last post Dec 31 '07 by: Cor Ligthert[MVP]
Hi, I use vb2003 on sbs2003 with SQL2000. I have a form with IEWebControls. Under the MultiPage I have some aspx-files, which are selected in an iFrame. In the codebehind I want to dispose not only this MultiPage-aspx, but the "Parent" too? How can I accomplish this? Any help is appreciated,
4
1,460
thread by: Timothy | last post Dec 30 '07 by: Smokey Grindel
Hi, I'm a C/C++/C# programmer going over VB and trying to learn it. The one thing I love about VS is intellisense, but it is very hard to get used to the VB way, especially after I select an item in the popdown list and press Enter to put it in. VB in VS seems to go to the next line. At any rate, I don't like using the mouse. My question: ...
4
1,428
thread by: Joe | last post Feb 18 '08 by: =?Utf-8?B?amlt?=
Hi, I am using VS2005 and am attempting to create a Setup project to install my VB.NET application onto the customer's target computer. I am having difficulty setting the Target property for the Desktop shortcut. It only allows me to select the Application folder. I cannot add the actual name of the executable program after that. When...
4
2,141
thread by: cj | last post Jan 3 '08 by: cj
Can I use LINQ in VB .Net 2008 to get to a Visual FoxPro Table? I've seen demos of it with SQL Server but they've used it with a server browser and I don't think that'd work when I need to see VFP tables.
4
1,979
thread by: Chris J | last post Jan 4 '08 by: Chris J
Hi all, I'm posting as a follow-up on this thread: http://groups.google.co.uk/group/microsoft.public.dotnet.languages.vb/browse_thread/thread/25781f7b1d987306/490ef079b658c57a ....I've not found anything more definitive than this, with the exception of a statement on VB6 support and Vista. Is anyone aware of any concrete information one...
4
2,974
thread by: alowe | last post Jan 3 '08 by: Cor Ligthert[MVP]
I'm posting this so others can avoid a headache. The OpenSubKey function of the RegistryKey object in .NET does require two backslashes between keys on some machines (ex. "Software\ \Microsoft\\Office") even with VB.NET. I came accross an issue where my development and test machines did not require the double slashes, but the client's...
4
1,776
thread by: Alexander Vasilevsky | last post Jan 4 '08 by: Newbie Coder
Need to read Word file without Office installation. It's possible? http://www.alvas.net - Audio tools for C# and VB.Net developers
4
2,340
thread by: Academia | last post Jan 5 '08 by: Academia
I need to be able to get the screen's PPI. I know I can do it using GetDeviceCaps but is there a class that I can use instead? Thanks
4
2,811
thread by: Robert | last post Jan 8 '08 by: J.B. Moreno
Greetings New to Visual Studio 2008. Always us VB6.0 SP5. I am trying to copy files from A to B. I select a directory, and copy files. Works ok, but it does not create the directory first. snippet. Private Sub cmdTo_Click(ByVal sender As System.Object, ByVal e As
4
2,381
thread by: =?Utf-8?B?R3V5IENvaGVu?= | last post Jan 6 '08 by: kimiraikkonen
Hi all I use: Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text, txtBody.Text) Dim emailClient As New SmtpClient(txtSMTPServer.Text) emailClient.Send(message) And its working fine. However I was wondering if there is a way to confirm that the email was sent. The send method does not return anything....
4
3,872
thread by: Anil Gupte | last post Jan 9 '08 by: Phil
This statement: Update Profiles set ProfileName='Kids', Current=True, ProfileDescription='Kids', Password='Kids' where ProfileID=2 as also: Update Profiles set ProfileName='Kids', Current=Yes, ProfileDescription='Kids', Password='Kids' where ProfileID=2 works within Access. But neither of the above statements work when using them from...
4
1,504
thread by: Academia | last post Jan 9 '08 by: Academia
It is not possible to change the compression status of a File using the SetAttributes method. Is there a way to decompress a file programmatically? Of set the files properties so that the system decompresses the file? Thanks
4
5,828
thread by: DR | last post Jan 10 '08 by: RobinS
How to change what directory tfs "get latest version" saves to? I made it desktop the first time it prompted me but want to change the directory to somewhere else..
4
5,673
thread by: federico | last post Jan 9 '08 by: Herfried K. Wagner [MVP]
Hello, I am trying to setup a Visual Basic "Console" application for searching Outlook folders. To this end I am trying to implement a Handler for the Outlook.Application.AdvancedSearchComplete Event. The problem I have is that the application finishes and exits before the AdvanceSearch, so the Event Handler in never called. If I delay the...
4
2,287
thread by: Scott McNair | last post Jan 9 '08 by: Jack Jackson
Hi, I'm creating a user control that has absolutely no visual pieces to it... it's essentially a piece that sniffs a serial port awaiting incoming data. I know that there are several controls that come natively with .NET that don't actually reside on the form, but go to the bottom area, such as for example database-related controls. How...
4
4,624
thread by: Peter Forman | last post Jan 11 '08 by: Jack Jackson
I have a windows form that contains a datagridview containing manipulated data from various sources (numerous sql servers + xml files). I now need to create a report from the data in the datagridview. Do I need to convert the datagridview into something else (dataset?) or should I have put the data into a dataset in the first place. Assuming...
4
3,841
thread by: Newbie | last post Jan 12 '08 by: Herfried K. Wagner [MVP]
Does anybody know of a vb.net callable library that will allow me to convert text into a (preferably) .JPG file or .GIF file?

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.