|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic .NETmicrosoft.public.dotnet.languages.vb
Marc -
23 Dec 2006 6:41 PM - 3 messages
HI, my program needs to save and write to a file on the users machine. I dont want to specift a particular location in case it doesnt exist. whats the best way to search for a user default save location (i.e ...
unknown; -
23 Dec 2006 4:15 PM - 3 messages
hi, i want to write an application who can acces a disk/partition in windows xp. I know how to do that if the disk/partition has a drive letter. But in this case the disk has no driveletter and is in that ...
Joris De Groote -
23 Dec 2006 11:44 AM - 2 messages
I can send a mail, no problem, however, the sended mail always comes from the e-mail adres from the sender I use this code myMessage = New MailMessage With myMessage ..To = ontvanger ..From = verzender How can I change this that when this mail is received by someone, he/she ...
WH -
23 Dec 2006 10:57 AM - 4 messages
I put a few controls on a form at runtime like Dim bt as Button For n = to to 5 bt = new Button ... ...
Amir Alilou -
23 Dec 2006 9:00 AM - 4 messages
HI How we can store UNICODE characters/strings in MySQL databases and then use this character/string in the web with ASP.NET +VB. for example in MSSQL SERVER we use literal "N" when we use INSERT INTO query.but in MySQL i dont know how to store unicode characters in ...
Bert -
23 Dec 2006 1:54 AM - 8 messages
hi How do I make a regex to find a word that starts en ends with a certain letter. What is in between is random. thanks b ...
Joe Cool -
23 Dec 2006 1:47 AM - 3 messages
I know this is probably not the proper newsgroup to ask this question, but I do not know which one is. And most of you guys here know a lot about windows programming so I am taking a chance some one here may be ...
Nathan Sokalski -
22 Dec 2006 11:41 PM - 3 messages
I am creating an ASP.NET application in a subdirectory of what IIS uses as the root directory (C:\Inetpub\wwwroot\). I am using the version of IIS that comes with Windows XP Pro SP2. Some of my code in my ASP.NET application ...
Robert Dufour -
22 Dec 2006 8:33 PM - 4 messages
Public Sub ChooseFolder() If FolderBrowserDialog1.ShowDialog() = DialogResult.OK Then TextBox1.Text = FolderBrowserDialog1.SelectedPath End If End Sub First In Vs2005 the if statement is not correct, it says it will not be ...
Robert Dufour -
22 Dec 2006 8:25 PM - 3 messages
I'm looking at the folder selection dialog in Vs2005 but there does not seem to be a selction that allows navigating the network neighborhood. I need my user to be able to select a folder on the network without using shares. ...
Dave Cullen -
22 Dec 2006 8:00 PM - 6 messages
I have a program that reads a delimited text file and splits the input string into string array elements: Dim Data(41) as String 'read semicolon delimited fields into string array Data = SrRead.ReadLine().Split(";".ToCharArray) I expect up to 40 elements to be read. But if the input data string has ...
Robert Dufour -
22 Dec 2006 7:00 PM - 6 messages
With system.web.mail in VS2003, doing some tests, using localhost from IIS as server, I noticed that my code queues the messages OK, but when changing sender addresses I see that the mail message ends up in the Bad folder. I ...
whoopes -
22 Dec 2006 6:33 PM - 9 messages
Found the following on Microsoft's website, [link], but it only seems to work when creating an account on a workstation. I am new to VB.NET (2005). TIA! ...
cj -
22 Dec 2006 5:01 PM - 6 messages
How can I get the 2005 ide to have the dots in the form that the controls are aligned to like in 2003? ...
Kevin -
22 Dec 2006 3:39 PM - 2 messages
Hi I am specifying a byte array of known size using Dim data(100) As Byte which creates an array with 0's. I would like to create the array with a specific value instead of zeros, if my memory serves me correctly ...
Scott -
22 Dec 2006 2:31 PM - 2 messages
I have a project that has inherited forms and it seems at times the code is running on the children forms during design time making me more work to try to detect that I am in design mode and have the forms not ...
andrewbda@gmail.com -
22 Dec 2006 1:57 PM - 6 messages
quick question here. I have a date variable that I would like to change. I need to add 364 days to it, i.e. I need year+1, day-1. any help is appreciated! Thanks ...
Samuel Shulman -
22 Dec 2006 11:39 AM - 3 messages
Hi everyone, I forever wander why Microsoft designed the NumericUpDown control to have the Increment/decrement arrows on the right and the value is aligned to the left Another thing to consider is what look most familiar to the user. ...
Nathan Sokalski -
22 Dec 2006 6:26 AM - 2 messages
I have an ASP.NET application in which I register several of my usercontrols in the Web.config file's <system.web><pages><controls></controls></pages></system.web> section. ...
sajin -
22 Dec 2006 6:03 AM - 18 messages
Hi All, I am building a windows application in VB .Net 2005 , and for deploying the application i need to run some exe's if it is 32 bits and some other exe's for 64 bits Can anyone tell me how can i findout this using VB .Net ...
sajid_yusuf -
22 Dec 2006 6:02 AM - 5 messages
Hi I am trying to develop a Windows service in VB.NET which has timer enabled and keeps checking a folder (or group of folders) for any new file or changed files. As soon as it detects any new file or changes ...
diego -
22 Dec 2006 4:43 AM - 3 messages
I just want to greet everyone a Merry Christmas. Another year has passed and it's time to ponder what we have achieved this year and set our sights on what we can accomplish next year. May everyone be safe during the hoildays. ...
TC -
22 Dec 2006 3:53 AM - 18 messages
I love ADO.NET, but I find OLEDB to be unacceptably slow. The last time I tried to use a Jet database for local data storage, I gave up and wrote my data to a binary flat file instead. This time, I really need ...
www.douglassdavis.com -
22 Dec 2006 2:57 AM - 9 messages
I'm looking for advice here, and I would really appreciate it if you could help. Is there a VB 2005 book that you like and would recommend (and why)? Would you consider it good for beginners to programming, intermediate, ...
Fordraiders -
22 Dec 2006 2:09 AM - 2 messages
vb.net 2003 Office 2003 What I have: C:\TestData\Input.txt Text File Pipe Delimited : 4 columns Of data example: 00001|NO BRAND NAME ASSIGNED|6DU27|M3-.5 X 6 FLAT HD SOCKET CAP SCREW, ...
YXQ -
22 Dec 2006 1:47 AM - 6 messages
How to detect programmatically if current user has the deleting permission to delete a Registry key in VS 2005? thank you very much! ...
Peter -
22 Dec 2006 1:32 AM - 5 messages
Hi, everybody, I run my program under VB.NET2003 IDE with no error and I compile it to a EXE file. This time an error message is display when I run the EXE file. How can I debug into my program to find the error? Thanks in advance. ...
Martin -
22 Dec 2006 12:54 AM - 6 messages
Hi all, I have made a usercontrol and I want to prevent the ContextMenuStrip property from being available, how can I do this? I have tried stuff like Protected Shadows ContextMenuStrip as Object But I can always still see the property in the designer, can anyone help me ...
Steve -
22 Dec 2006 12:41 AM - 8 messages
How do you disable the mouse right click to prevent pop-up window? Or if I want to have cut/copy/paste on pop-up window use same code as my custom cut/copy/paste that are triggered by toolstrip buttons? ...
Scott Lam -
22 Dec 2006 12:21 AM - 8 messages
Hi, I have a VB.NET form with a bunch of controls in it . The focus is in one of the controls , (i.e. a textbox), is there any way to click on the form itself and make the textbox lose focus and have the form ...
ShaneO -
22 Dec 2006 12:09 AM - 24 messages
Hello, I wish to extract embedded string data from a file using a Binary Read method. The following code sample is used in VB.NET and similar code is used in VB6 - (Assume variable declarations etc.) FileOpen(iFileIn, sInputFile, OpenMode.Binary, OpenAccess.Read) ...
Martin -
21 Dec 2006 11:10 PM - 4 messages
Hi all, I'm having a problem when trying to raise an event in my custom control when a toolstripbutton enable state changes. The problem is that although the code to raise the event executes, my handler never see it. ...
Tony K -
21 Dec 2006 11:09 PM - 3 messages
I know this is NOT the data newsgroup but nobody seems to frequent that newsgroup and answer my question. Can somebody please tell me which Method Name controls when the values of one column changes. I have tried ...
Derek Hart -
21 Dec 2006 11:02 PM - 5 messages
I upgraded to VStudio 2005. Now F5 only runs the app is it was in memory, and does not compile first. What is the quickest way to now compile and run the app? Do I have to choose Rebuild Solution, wait, then hit F5 and wait ...
Bert -
21 Dec 2006 10:35 PM - 4 messages
Hi I am looking for a program/way to making regex expressions simple ? Is there any i can download ? thanks B ...
Andrew -
21 Dec 2006 10:28 PM - 4 messages
This is my first time retrieving data form a sql server 2005. I can send data to sql 2005, but I am having problems retrieving data to display to user from sql 2005. Here is my code, can anybody help? ...
mpaine -
21 Dec 2006 8:37 PM - 4 messages
Hi everyone, I wrote some code and it seems ok to me but since it is going into a high-use production environment, I wanted some peer-review if possible. Basically, I wanted a way to know if an object is being "reset" and ...
Bmack500 -
21 Dec 2006 8:16 PM - 7 messages
Hello, and Thanks in advance! Using: Vstudio 2005, XP, .NET 2.0 I'm getting the following error when running my code below. I'm passing an object array which contains other variables. It happens immediately when it hits the "For" loop: ...
Carly -
21 Dec 2006 7:44 PM - 2 messages
Hi, I have the following code: Imports System.Threading Module Module1 Sub Main() Dim mydel As New WaitCallback(AddressOf Showmytext) ThreadPool.QueueUserWorkItem(mydel) ...
Rich -
21 Dec 2006 7:36 PM - 3 messages
Greetings, I need to format some text that I display in the output window. I need to show something like this: *abcdef * *abcdefghij * ...
tshad -
21 Dec 2006 7:32 PM - 3 messages
I have a Service that starts a thread that never ends. When I stop the service from the Service Applet, does it kill the thread or do I need to do it myself? If it isn't killed, what happens when I start the service again. ...
Glenn Palomar -
21 Dec 2006 7:25 PM - 3 messages
Hi, Is there a way to run VB .Net Console application with hidden console window? I can run it minimized by creating a shortcut and set its properties to run minimized. Still it is not totally hidden. Can it be done programmatically? ...
Steve -
21 Dec 2006 7:23 PM - 18 messages
I'm trying to code cut, copy, and paste in vb 2005 so that when the user clicks on a toolbar button, the cut/copy/paste will work with whatever textbox the cursor is current located in (I have about 20 textboxes on the ...
tshad -
21 Dec 2006 6:54 PM - 2 messages
I have a Windows Service that runs on the same machine as my Web Server. I am trying to figure out the best place to put the .exe. Also, I want it to access 2 dlls that are in my bin folder of one of my Web Applications. ...
Celldss -
21 Dec 2006 6:20 PM - 4 messages
I'm doing a standard AD query to retrieve a list of workstations that match certain criteria. I would like to iterate through that list and see if the workstations are still on the network and have correct dns records. Part of the difficulty is that the ping & dns check takes ...
CAFxX -
21 Dec 2006 6:11 PM - 2 messages
hi, I need just a little clarification about foreign language calling in VB.NET (VS2005). I have a solution containing two projects, one in VB.NET and the second in C (a library). The VB.NET project needs to call functions contained in the C library. ...
jimmy -
21 Dec 2006 5:13 PM - 11 messages
I'm in the process of developing a reservation management system for small restaurants. I am stuck on creating an algorigthm for managing the reservations. For example i need to check that a table is avaialbe and when etc. I understand that i'll need a database table containing ...
TBoon -
21 Dec 2006 5:09 PM - 4 messages
How do i read and write ini file using vb.net? ...
BP -
21 Dec 2006 3:22 PM - 3 messages
if the input field was generated in Client-side Javascript by document.write, how to retrieve the data of the input field in code behind? Thanks ...
Franky -
21 Dec 2006 3:19 PM - 3 messages
I have a solution in which the menu items have no images. I want to add them. Having never done this before, nor explicitly add any resources, I'm wondering the best way to do that. So I download a few example solutions to see how other do it but really ...
Ed Bitzer -
21 Dec 2006 2:54 PM - 14 messages
I have just written a utility (with help from this forum) to automatically send a sign-up sheet to a dozen tennis friends using Smtp.Send() from the System.Web.Mail namespace. I question that this message goes through my ISP's SMTP server (Comcast) since I have not ...
lord.zoltar -
21 Dec 2006 2:39 PM - 13 messages
Hello, I have a help file as a chm, which is added to the project as a resource. I'm trying to display it as System.Windows.Forms.Help.ShowHelp(Me, "Name_Of_Helpfile_Resource") which obviously does not work (It cannot find anything at that URL). ...
Andrew -
21 Dec 2006 2:31 PM - 6 messages
I an using a vb2005 app to log data to a sql 2005 server, now when I am logging the data I need to get the uniqueidentifier to use in vb and pass that information. I am having problems passing the value in vb or when I try ...
Bmack500 -
21 Dec 2006 2:16 PM - 4 messages
Hello all, and thank you in advance! The below code keeps giving me the error: Conversion from type 'Object()' to type 'Integer' is not valid. Do I need to do some casting or somethign? All I'm doing is passing an object which contains a structure, ...
nj609eagle -
21 Dec 2006 1:58 PM - 4 messages
Recently and without warning, a report that I was using in my VB.NET 2003 application started to take 10 minutes to load. It also take thisamount of time to open in the deisgner. I'm using a ADO.NET XML file as the datasource, so there is no network traffic. ...
Goofy -
21 Dec 2006 1:57 PM - 2 messages
OK, the scenario is this. I have added a MDF Database to my application. I want to run a Select Into myTable From ( an external sqlServer.FromTable ) It tells me that I need to add a linked list server but Im not sure where to ...
Woo Mun Foong -
21 Dec 2006 1:54 PM - 3 messages
Hi, I have the following 2 structures in VC++ 6.0 that would like to be converted to VB2005 typedef struct { int iNoteIndex; char caIsoCurrencyCode[4]; ...
Bert -
21 Dec 2006 1:50 PM - 2 messages
HI I need to find words in a large string/textfile for certain words/patterns. I need to hilight those word(s). How do I go about this? thanks B ...
Goofy -
21 Dec 2006 1:13 PM - 4 messages
The add database ( MDF ) in Visual Studio 2005 seems to be in SQL Server 2005 format as far as I can tell. Does anyone know how I can import tables ( without having to start writing queries ) from Access ? ...
si_owen -
21 Dec 2006 12:23 PM - 4 messages
Hi folks, I am using visual studio 2005 with the .net 2 framework, unlike 2003 no dll's are created when a project in built and 2005 seems to do everything on the fly. Does anyone know where the dll's are stored when 2005 is built and ...
Vinay Patel -
21 Dec 2006 11:37 AM - 2 messages
hi every one i need project with source code for virus scanner plz any one can help me in this case ...
balle -
21 Dec 2006 11:25 AM - 3 messages
hi here is gud dotnet site i have found some extemally gud quetion that helps me to get gud job so i wanna share my experience here ...
kaynos@kaynos.com -
21 Dec 2006 4:21 AM - 3 messages
I am converting a vb6 app to vb.net. I have a form with 100's of controls in it. When I execute form.show() I immediately get the following exception error, which occurs on the form.show() statement ...
Ronald S. Cook -
21 Dec 2006 2:49 AM - 5 messages
We're about to design a Windows app. Since it will have lots of modules, we're thinking about a listbar (like Outlook) on the left with menu bar across the top, and status bar at the bottom. Each module would take up the ...
Newbie -
21 Dec 2006 1:55 AM - 19 messages
I have been trying to lear vb.net and I cannot remeber how to do something that I read about a week ago and it is trying me crazy You now how if you creat a vriable that is boolean whe you type in X ...
Justin -
21 Dec 2006 1:13 AM - 5 messages
I created a panel. Then I created 4 picturebox's inside that panel. I added an image to each picturebox and I can see the images in my project. However when I run my project I don't see the images. ...
Dennis -
21 Dec 2006 12:37 AM - 4 messages
Will I be able to run my vb.net 2003 applications that use OLEDB to access "Access" databases under the Vista operating system? ...
sergejusz -
20 Dec 2006 11:35 PM - 3 messages
Hi all, Please take a look at simple set of VB.NET classes to develop "boss-workers"- style multithreading applications. Maybe it will help somebody: [link] Happy Christmas Serge [link] ...
Robert Dufour -
20 Dec 2006 10:59 PM - 7 messages
This is the error I get Message "No error information available: DB_E_ERRORSOCCURRED(0x80040E21)." String This is the basic code with whicj I am testing it. Dim MyConn As New System.Data.OleDb.OleDbConnection MyConn.ConnectionString = "Provider=sqloledb.1;data source=MAX;initial ...
Arne Beruldsen -
20 Dec 2006 10:28 PM - 4 messages
Anyone has some good ideas about creating "Loading ...please wait" form or control. Thanks ...
Daniel Manes -
20 Dec 2006 9:49 PM - 4 messages
My DataGridView is set up like this: * Main row background color = white * Alternating row background color = light gray I also have a read-only (non-editable) column I want to show up as solid dark gray (i.e., no alternating row colors), but it shows up as ...
JFB -
20 Dec 2006 9:29 PM - 3 messages
Hi all, I need to manage the jobs printing on a printer over the network. The new Framework has something to help me with?? Any links? Any ideas? Tks JFB ...
Rick -
20 Dec 2006 9:25 PM - 3 messages
VB.Net 2005 Pro I am working in the designer and add a ContextMenuStrip to my form, and attach it to a checklistbox control. Then I add a couple of ToolStripMenuItems to the ContextMenuStrip and assign the properties and images. Now I want to assign the Click event of the ToolStripMenuItem, but ...
Spam Catcher -
20 Dec 2006 9:07 PM - 2 messages
Hello Everyone, I just started using nant in conjunction with cruisecontrol.net. The <solution> tag has been great in helping us compile VS.NET 2003 projects without need to write a nant build file. My project compiles stuff into a directory like: ...
Carly -
20 Dec 2006 8:10 PM - 2 messages
Hi, I have the following code that uses beginCriticalRegion and EndCriticalRegion Imports System.Threading Public Class Form1 Shared Sub SimpleWorks(ByVal o As Object) Dim info As person = CType(o, person) ...
param -
20 Dec 2006 8:09 PM - 5 messages
Hi all, I have an interesting situation. I have a compiled Jscript.net dll. I am referencing this in a Vb.net project. Now the jscript dll has a property that is of decimal type. In the VB project I am assigning this property a ...
Gunnar Valur -
20 Dec 2006 7:40 PM - 3 messages
Hi, I am trying to override the Equals function in Object with VB 2003 (.NET 1.1) like this: Public Class Foo Public Overrides Function Equals(ByVal obj As Object) As Boolean Return True ...
tshad -
20 Dec 2006 7:23 PM - 6 messages
I am writing a Service that will start up some threads and I am trying to find a way to tell if the threads are still running or not? Is there a good program that will show that threads a service or program has ...
OutdoorGuy -
20 Dec 2006 7:17 PM - 5 messages
Greetings, I have the following code in a VB.NET Windows application and was wondering if there is any way to determine whether or not the user pressed the "Cancel" button on the FolderBrowerseDialog? Me.FolderBrowserDialog1.ShowDialog() I tried dimensioning "x" as a boolean variable and using the statement ...
Ed Bitzer -
20 Dec 2006 7:16 PM - 8 messages
Would like to use this namespace but Visual Studio.Net 2003 cannot locate and I do not see it listed under Project | Add Reference. Was this not included this older version of VB.Net or Visual Studio? Is ...
Arne Beruldsen -
20 Dec 2006 5:52 PM - 3 messages
I have a Datagridview which populates fine...but when I refine the data...the subsequent searches are added to the end. I can't seem to claer the grid with only the new info. My code... Private Sub GetData(ByVal selectCommand As String) ...
param -
20 Dec 2006 4:57 PM - 2 messages
Hi all, I have a Web Service that returns a bindinglist of objects. However, on the client side it comes across as an array. Is there a way in VB.Net to typecast the array back to a bindinglist? TIA! ...
Goofy -
20 Dec 2006 3:46 PM - 5 messages
Has anyone found these to be a little fragile when making changes. They seem to fall over easily when changes are made to the data. ...
Josh Burkard -
20 Dec 2006 2:18 PM - 5 messages
Hello How can i control, that a user can't start my VB.Net-Program 2 ore more times at once (maybee like Outlook)? At same time Parameters which are transfered with the second program should be transfered to the first program. ...
Arne Beruldsen -
20 Dec 2006 2:03 PM - 4 messages
I have a datagridview which loads fine on startup. However...the user has the opportunity to refine the data. For some reason...the refined search is added to the end. I've tried clearing the rows first -- ...
Goofy -
20 Dec 2006 2:02 PM - 4 messages
The 2.0 Framework has a new type called System.Nullable. This allows something to Not exist, basically you can pass 'Nothing' to a method whose parameters as System.Nullable. Im looking at table adapters ; you know those clever little things which ...
Andy.I -
20 Dec 2006 11:51 AM - 22 messages
Hi I've just finished a collegue cource in beginning Vb.net programmeing, and was supposed to take an advanced cource in VB.net next semester learning more abour object oriented programming. But this cource is terminated. By options now is to either take a cource in C# or a cource in ASP.Net with ...
Coder -
20 Dec 2006 11:20 AM - 2 messages
Is there a way to change a forms border style at run time? ...
Jim Florence -
20 Dec 2006 10:00 AM - 3 messages
I have written a mail merge routine which works fine apart from one thing. The date on the word document that is created always comes out in American format i.e. mm/dd/yy instead of dd/mm/yy. The excel spreadsheet created has the correct date extracted from the ...
Pieter -
20 Dec 2006 9:26 AM - 2 messages
Hi, Two VB.NET Windows Forms (2.0) applications had the same behaviour when they were run the first time by a user: after clicking on the shortcut, the location of the MSI-file is asked, and a part of the installation is ...
Goran -
20 Dec 2006 8:42 AM - 3 messages
Can I define field names with more words in Access and SQL Server like field: "Bus station" instead "BusStation" or "Bus_Station"? I have had problems because of this in VB6. Can I have problems in VB 2005 or C# 2005 ...
Spam Catcher -
20 Dec 2006 8:40 AM - 2 messages
Hi all, I'm currently testing out CruiseControl.NET and it seems to do what I want. However, I'm wondering if there are other build servers out there that are more polished? CruiseControl works well, but I find editing the XML build scripts a bit ...
Farsad -
20 Dec 2006 7:55 AM - 2 messages
Hi how can I declared initial size of array in structure. I have below code in c++ and translate this to vb.net. but get this error: "Arrays declared as structure members cannot be declared with an initial size" c++: ...
David Cogo -
20 Dec 2006 4:45 AM - 3 messages
Hello, I am attempting to create a web server that will be attached to a pelco video matrix switcher (9770) via a serial port. I want to setup hyperlinks on the webserver that will feed ascii commands to the matrix ...
Newbie Coder -
20 Dec 2006 3:47 AM - 12 messages
Hello All Anyone know how to delete the Windows History using STATURL? VB.NET 2003 code only (no c++/C#/Google Links, but proper code) No I am not talking about the TypedURL list, but the contents of the History ...
Adriano -
20 Dec 2006 2:31 AM - 5 messages
hello, how can I make "timer" run in a separate thread using vb.net 2005??? thanks in advance Adriano ...
Nathan Sokalski -
20 Dec 2006 2:02 AM - 6 messages
My Web.config file contains the following section to register some of my UserControls: <pages> <controls> <add tagPrefix="NATE" tagName="Banner" src="~/Banner.ascx"/> <add tagPrefix="NATE" tagName="Navigation" src="~/Navigation.ascx"/> ...
Dean Slindee -
20 Dec 2006 1:49 AM - 2 messages
I am writing a windows service that needs to logon to a server to import a file residing on that server. The server is on the local network, but in the dmz. Not sure is the latter makes any difference, but is there a way to ...
willjay -
20 Dec 2006 1:11 AM - 2 messages
"After exploring the next four applications, you will see how Microsoft Visual Studio 2005 and the .NET Framework 2.0 enhance productivity and make connecting to data sources from your application much easier than with previous development tools." Who has the time to read the next 4 chapters, and if it is that ...
Terry Olsen -
20 Dec 2006 12:02 AM - 2 messages
I have a Datagridview that is bound to a DataTable. So there are no column templates to modify at design time. Is there a way I can convert a certain column (if it exists) to a ComboBoxColumn at runtime after the Datagridview is bound? ...
|
|||||||||||||||||||||||