Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Access SubQuery Help Needed.....................
Hexman - 7 Jan 2006 11:55 PM - 3 messages
Don't know if this is the proper newsgroup to post to.  Sorry if not. Can't figure this one out.  Using Access 2003.  I have 2 tables, IMast (table of part info) and THist (part transaction history). ...
Score ListView vs. ListBox in my Program
The Confessor - 7 Jan 2006 11:09 PM - 2 messages
I currently have a listbox in my program which I populate with data from a random access file as follows: For T = 1 To HighestPointID         FileGet(1, Point(T), T)         ListBox_Point.Items.Add(T & " Lat: " & Point(T).Latitude...) ...
Score WMI and screensaver
scorpion53061 - 7 Jan 2006 6:11 PM - 3 messages
I am using WMI to login into and remotely reboot my Windows 2003 server. The only problem is that if the screensaver is active or monitor off and needs to be unlocked by a password, it will allow me to login but not to ...
Score Reading/Writing Extended File Properties
Corey Ellsworth - 7 Jan 2006 5:56 PM - 2 messages
Does anybody know how to read/write extended file properties such as comments, keywords, author, etc. in VB.NET?  I can't find anything anywhere. It may be because I don't know where to start or even what these properties ...
Score VS2005 combox question
Bob - 7 Jan 2006 5:16 PM - 3 messages
The scenario is that of the employees table wherein there's an EmployeeId and a ReportsTo field in the same table. The combobox is one in a datagrid view that lets you select an employee from the employees table to fill in ...
Score Summary of issues with VS 2005
_AnonCoward - 7 Jan 2006 3:44 PM - 24 messages
I'm looking to purchase VS 2005 some time in the near future. I've read a lot of grief on the web and in this ng as to the flaws and problems with the VS 2005 release (and I understand MS is coming out with SP1 to address ...
Score Project help
PeterPr - 7 Jan 2006 3:40 PM - 2 messages
I need a routine that will step through a text file of consistent structure and, based on the content of each line, construct and save another text file. Outline of the project is as follows: 1. Prompt for location and name of input text file by displaying directory ...
Score Connecting to the internet
Husam - 7 Jan 2006 3:37 PM - 3 messages
Hi EveryBody: By using VB.Net Is there any way to make connection to the internet by adding refreance to my project and without using the win32 api functions ? Any help will be appreciated regard's Husam ...
Score VB.NET wizard form
Paul Taylor - 7 Jan 2006 12:43 PM - 6 messages
Hi all, I'm writing an app in VB.NET and want it to look and behave like a typical application wizard (i.e. with the usual Next, Cancel, Back etc).  Should I be looking to use multiple forms or is there a better, cleaner way of doing ...
Score Virtual Serial Port Bluetooth System.IO.Ports
henrycortezwu - 7 Jan 2006 11:22 AM - 2 messages
Hi All,   I'm trying to connect to a virtual port (COM19, OUTGOING, "Bluetooth Serial Port") using VS2005 System.IO.Ports. When I ran the ff code below here's what happens. 1) VS2005 Compiles w/o errors 2) My Nokia 6600 prompted me the message "Accept Connection request ...
Score Using ".OpenCurrentDatabase" in VB .net to open an MS Access DB
Paul M - 7 Jan 2006 10:49 AM - 6 messages
Hello,     when I execute the code below I get the usual access message: SECURITY WARNING---------------------------------- Opening "<filepath & name.mdb>" The file may not be safe if it contains code that was intended to harm your computer. ...
Score Select in with like - ado.net
JR - 7 Jan 2006 8:25 AM - 5 messages
Hi, can I use wildcards in a select command. My command is like this SELECT ID FROM songs WHERE (Title LIKE in(?)) if I remove the 'like' or the 'in' it works. together it doesn't of course without the in I need the correct names and with the like I add ...
Score Help with HtmlTextWriter
Larry Van - 7 Jan 2006 2:17 AM - 3 messages
I have been beating my head against a wall for two days now. I have developed a treeview control that reads in an xml file which holds the information for building the tree. The nodes are hyperlinks to other pages. I want to be able to include the inline code ...
Score Deploying VB .NET application WITH MS Access db
JOHN MALONEY - 7 Jan 2006 2:04 AM - 5 messages
Hi Everybody, I have created a three-tiered db application in VB .NET but I can't get the deployment to work right. I have added a SetUp project to the existing application. I also selected RELEASE as appropriate in the Application Folder and on the Users Desktop and Start menu. I didn't know whether the Project Output though would be enough or whether I would need to add the .mdb file to the Application folder too. I tested the deployment both ways though and in each case, when the user installs the application, they can see my GUI...but nothing populates in the combo boxes on form_load?? ...
Score deployment dotfuscator help ??
tuna - 7 Jan 2006 1:18 AM - 2 messages
Need help with windows form setup project. I used dotfuscator(free version with vs 2005) and do not know how to add the output (renamed assembly .exe) to the setup project. If I remove the original .exe and replace it with the ...
Score How to trap if a cancel has occurred on cell validation?
Bob - 7 Jan 2006 12:23 AM - 3 messages
In a winform with a datagridview using cellvalidating event but also have a save button that is located on a tablebindignnavigator. The behaviour I observe is that if the cellvalidating issues a cancel = true after the save button has been clicked, the update statements in the click ...
Score VB 2003 - Odd Bug in My Program
Confessor - 6 Jan 2006 10:55 PM - 5 messages
*Confessor nods* Okay, I've got a hell of a lead on how to read/write to Random Access files, but there's a small problem that's stopping me short of sussing out that whole thing. The "arrowed" line of code (as well as the two lines following, if I skip ...
Score Loading data in the flexgrid takes long time
schapopa - 6 Jan 2006 10:15 PM - 7 messages
I have a flex grid and I am loading data to this flex grid in this way While sqldr.Read j = j + 1 MSFlexGrid1PLSummary.set_TextMatrix(MSFlexGrid1PLSummary.Row, MSFlexGrid1PLSummary.Col, sqldr("date1") & "q-" & sqldr("date2")) MSFlexGrid1PLSummary.Row = 1 MSFlexGrid1PLSummary.CellFontBold = True ...
Score Test for integer
Rob - 6 Jan 2006 10:07 PM - 4 messages
I have a 3 character string that I want to test to see if it is a positive integer... I could test that each individual character is >=0 and <=9... is there a better way ? Is there an IsInteger() function ? ...
Score Collection
Mike - 6 Jan 2006 9:13 PM - 4 messages
Hi guys; I created a class that inherits from DictionaryBase class. The thing is that I want to allow the user when using my class to enter duplicate keys in the collection like; Dim myCl as new MyDictionary myCl.Dictionary.Add("Mike", AnObject) ...
Score Object Reference Error On Setting sqlCommand connection
tjonsek - 6 Jan 2006 8:48 PM - 3 messages
I've been reading most of the day on how to use datagrids and came up with code to delete a record. I'm getting an error "Object Reference not set to an instance of an object" for the line where I set the ...
Score three combos, same dataset
BrianDH - 6 Jan 2006 8:18 PM - 4 messages
Hi I have a form with multi-tabs, and on each tab I have a one combo that has the same values.  I populate all 3 combo with the same one datacall/dataset My problem is: when I make a value selection change to one, it changes the ...
Score Paging, Filtering and Sorting
LDD - 6 Jan 2006 7:33 PM - 6 messages
Hi Folks I'm trying to determine a way to handle paging, filtering and sorting in a datagrid. If I choose to filter and sort, I'd like to return a subset. If that resultset has more records then the number of rows I'd like to display, I'd ...
Score Add a line break in label.text
Drew Leon - 6 Jan 2006 7:28 PM - 5 messages
I am learning how to program using Visual Studio 2005 (I chose Visual Basic to start). My question is: I have a sentence which I want to split in two. I would like half the sentence on the first line, and the other half right under it, on the second ...
Score populating text boxes...
Bill Brinkworth - 6 Jan 2006 6:48 PM - 3 messages
in vb.net 2005, i would like to pull up a name from a database (customers) (i can do this already), then after a name is selected from a combox box, to populate the form's text boxes with with data about that customer.  I.E.: if ...
Score Design Mode Property Update Help
David - 6 Jan 2006 6:13 PM - 2 messages
Im having trouble tracking down a solution for the following. I have two properties on a custom textbox control I'm creating. If you change the value in PropertyA it may in code change the value of PropertyB. That works fine, however in design mode PropertyB's value is not shown ...
Score Help w/ 1st File Access Program
Confessor - 6 Jan 2006 5:56 PM - 2 messages
[Ellipses added to defeat word wrapping, improve readability] Public Class Form1     Inherits System.Windows.Forms.Form     Structure PointTemplate         Dim Latitude As Single         Dim Longitude As Single ...
Score Use of delegate
Bob Simoneau - 6 Jan 2006 5:36 PM - 18 messages
I am having a hard time with delegates, but here I must pass a delegate and a pointer to a structure.  I am totally lost. Passing the pointer to rlistsys_resp_func and RLISTSYS_DETAIL  is where I am lost. Any hint would ...
Score Simple Example of How to Implement SerialPort Class
Ben Kim - 6 Jan 2006 5:19 PM - 5 messages
Hello all, Does anyone have an example on how to implement the new SerialPort Class in VB.NET?  I have been able to create the class, send (.WriteLine) to the port and Read from the port but cannot figure out how to use the Events to tell ...
Score SetWindowsHookEx and VB.NET 2005
bruno - 6 Jan 2006 5:16 PM - 16 messages
I need some help on how write SetWindowsHookEx in vb.net 2005 to hook kb input. this is the statement: hHOOKKb = SetWindowsHookEx( _                             WH_KEYBOARD, _ ...
Score A Framework for Datadriven Forms for VB Dot Net
Mark L. Breen - 6 Jan 2006 4:49 PM - 8 messages
Hello All, I am currently in the middle of creating a 'Framework' for my latest VB.Net project. I have always created such a tool for previous lauguages. This time I am basing it on n-Tier architecture.  I will probably continue ...
Score Byte Array, Datagrid
Selva Chinnasamy - 6 Jan 2006 3:49 PM - 5 messages
Hi, I am reading Byte Array from MS-Access table, which I wanted to display in the datagrid. Right now its displayed as "Byte[] array". How can I display the actual string. Any help! Selva ...
Score ISO Date Functions
Newbie - 6 Jan 2006 3:42 PM - 2 messages
I need the following functions using the standards for Week Numbering IE Week one is the first week with a thursday in it. getWeekStartDate(  WeekNum as Integer ,  YearNumber as Integer ) as Date getWeekEndDate (  WeekNum as Integer ,  YearNumber as Integer ) as Date ...
Score Problem with setting focus
Darrell Wesley - 6 Jan 2006 3:30 PM - 4 messages
I have an application with 2 forms. Form1 is the main form and has 2 text boxes on it. Form2 is a datagrid showing a list of workorders that are to be manufactured. The user can use the mouse to select the work order on form2 and data is ...
Score XML Comments File Generated
JimStone - 6 Jan 2006 3:16 PM - 7 messages
The assembly name for my project is company.dept.project.v1.0.dll I would expect the xml file to be the same - replacing .dll with .xml  but it is also dropping the last .0   and creating company.dept.project.v1.xml ...
Score I was looking for the "Immediate" window like in Classic VB but can't find it
David A. Beck - 6 Jan 2006 1:40 PM - 5 messages
I was looking for the "Immediate" window like in Classic VB but could not find it. ...
Score Uninstalling libraries?
lcifers - 6 Jan 2006 1:39 PM - 2 messages
This has happened to me several times. I write an application and then test the installation by installing it on my development machine. I find some bugs so I uninstall the application and start fixing them. But alas! Some of the referenced libraries (for COM applications such ...
Score Reading DBF file
S Shulman - 6 Jan 2006 12:19 PM - 2 messages
Hi I am trying to read a dbf file using OLEDB but I can't get the entire field. I suspect that it is because the OLEDB measures the size of the field assuming it is UNICODE characters and then it reads that number of ...
Score wheres the solution stuff gone?
guy - 6 Jan 2006 10:49 AM - 3 messages
i am working on a different pc to usual with vb2005 pro. whenever i load up a solution (by using open, or doubleclicking the solution file the project loads but the solution does not appear in SolutionExplorer and there are no 'solution' related options on the file menu - not even ...
Score DataSet Problems
gary - 6 Jan 2006 10:30 AM - 3 messages
how can i set the defaultvalue of a datarow with type datatime to current time ?? ...
Score How do I pass a two-dimensional array to a Function or Sub??
Familjen Karlsson - 6 Jan 2006 10:08 AM - 2 messages
Hi I wounder how I can pass a two-dimensional array or more to a Function or Sub and how shall the Function or Sub look like. Fia ...
Score math wrong?
JamesB - 6 Jan 2006 7:49 AM - 4 messages
I am trying to use the math.sin(value) function but it seems to give me the wrong answer! For instance, math.sin(1) is returning 0.84147098.... whereas windows calc doing 1 then pressing sin gives me 0.017452406..... ...
Score sqlconnection question
00eric claption - 6 Jan 2006 7:38 AM - 3 messages
I define the following code in a button click event: Dim cn As New SqlConnection( _ "Server=(DBTEST\DBTEST;DataBase=pubs" _ & "Integrated Security=SSPI") *************************************************************************************************** I got this error when I trigger the button click event and error stop at the ...
Score CreateObject( )... :(
Pauras Desani - 6 Jan 2006 7:15 AM - 4 messages
Dear friends, I have developed a module in VB6 and now I want to redevelop it into ..NET . VB6     Dim cat as Object     Set cat =GetObject("","ABC.Application") Dot NET     Dim cat as Object ...
Score sqlcommand question
00eric claption - 6 Jan 2006 7:02 AM - 3 messages
In the sourcecode as following,     Dim cmd As New SqlCommand()     With cmd         .CommandText = "Delete from Authors where au_lname = 'Smith'"         .Connection = cn ...
Score hyperlinks in a chat window?
Terry Olsen - 6 Jan 2006 6:01 AM - 2 messages
I have a chat client working, using a standard textbox for the chat window. Is there another control and/or code I could use that could recognize a hyperlink in the chat and allow me to click on it? ...
Score Access Tables
Lespaul36 - 6 Jan 2006 5:57 AM - 2 messages
I am working on a program to convert access databases.  I need to get a list of the tables, fields, and field types. I have tried this code, but didn't get anything other than a cound of how ...
Score Access Tables
Lespaul36 - 6 Jan 2006 5:52 AM - 2 messages
I am working on a program that will convert access databases .I need to get each table, field, and field type, but I can't seem to get a list of he table names. I have tried this code, but haven't gotten anything. ...
Score Datatable.select
steve - 6 Jan 2006 5:32 AM - 2 messages
Hi All I am using Access 2003 and VS 2005 Professional I retrieve data from an access DB into a datatable then need to select rows that match a short time value I can retrieve by time from Access OK ...
Score Questions about DataGrid
Steven - 6 Jan 2006 4:52 AM - 2 messages
I have 2 questions about the DataGrid in VB.Net: 1. Can I define more than 1 row of header for using the grid? 2. Can I merge multiple cells into a single cell on the same row? Thanks! ...
Score how to persist color settings in my app?
Terry Olsen - 6 Jan 2006 1:36 AM - 6 messages
I want to be able to save the user color settings in my app and restore them when the app is re-opened.  I currently have a config file with different settings such as: [App Settings] UID=jsmith IP=127.0.0.1 ...
Score New line in label
Ithaqua - 6 Jan 2006 1:03 AM - 5 messages
I want to start a new line in label, how do i do it.  currently my code is: lable.text = "this is a test" + "123" and it displays like this. 'this is a tes 123' and I want it to display as: ...
Score Why won't my DataTable.Update?
Mike - 6 Jan 2006 1:02 AM - 8 messages
Dear Group, I have a .NET 2.0 .DLL assembly containing a dataset with three tables. I reference this from a standalone .NET 2.0 EXE. I am writing a login form which uses the single Dataset from the .NET 2.0 .DLL. One of the tables ...
Score Conversion
JK - 6 Jan 2006 12:20 AM - 2 messages
How would I convert something like below to c# or VB.Net.     unsigned char ar[] = "AB";     unsigned int i = 0;     i = *(unsigned int *)ar; Thanks JK ...
Score Windows Service and App.Config problem
Tommy - 5 Jan 2006 11:24 PM - 2 messages
I have a windows service that has an app config file. I also have a filesystem watcher watching the config file. When the config file changes I am reading the values back into memory. It all appears to work but the values coming back from the app.config are ...
Score VB2005 - Bound Date TextBox Issues
Matt - 5 Jan 2006 11:13 PM - 3 messages
I have a number of TextBox controls bound to date fields in my application, and have come across a disconcerting issue: When you are entering data into the bound field, if you enter any string that cannot be converted by the system into the date/time format, the application ...
Score is it possible to write to CD using win2000?
tonylc - 5 Jan 2006 11:06 PM - 2 messages
I know in WinXP you can interact with the ICDBurn interface.  But are there MSDN API's to Windows 2000 for writing to CD? Any information would be great! Thanks, Tony ...
Score DirectCast - Why is this not working?
Vagabond Software - 5 Jan 2006 11:03 PM - 5 messages
Here is the code: Dim amountDue As Double amountDue = Math.Round(DirectCast(strOrderTotal, Double), 2) This code produces an invalid cast exception.  The String variable strOrderTotal evaluates to "226.27". Is it not valid to cast a string to a double?  I don't want to use CType ...
Score AutoIdent
Gary Townsend (Spatial Mapping Ltd.) - 5 Jan 2006 10:06 PM - 2 messages
I am doing some data entry on a form which also a master/detail form. I have 2 textboxes and a dropdown box which allows you to enter the master information for a "Route". The data for the route is fetched from a PostGres ...
Score Inserting an image file in a datagrid view column- how
Bob - 5 Jan 2006 9:05 PM - 3 messages
I looked at the sample in the msdn january 2005 - Introducing a new datagrid, but the project downloaded failed to open. Any one can point me to a bit of code on how to go and select an image that ...
Score dropdownlist --> URL
Ken Carter - 5 Jan 2006 8:00 PM - 3 messages
Web form VS 2005... DropDownList has text describing links and url's. What I want to do is have the DropDownList1.SelectedIndexChanged event perform a hyperlink to the Value in the control at the selected index position. I've looked high and low for an example of this under ASP.NET 2.0 but have ...
Score Woking with IntPtr, how can I copy with offset?
ThunderMusic - 5 Jan 2006 5:55 PM - 2 messages
Hi, I have to copy some data to an unmanaged array pointed by an IntPtr. The thing is Marshal.Copy only offers 4 parameters(not the actual parameters name but what I understood of them) : Source, srcOffset, Destination(the IntPtr), Length. ...
Score intermittent process problem
guy - 5 Jan 2006 3:24 PM - 2 messages
when debugging a winforms vb.net 2005 app sometimes if i change the code it buils ok but when running fails with a failure to copy the exe. on checking with task manager there si a process still running - the exe in question. if ...
Score generics question
guy - 5 Jan 2006 2:32 PM - 7 messages
if i have a generic collection, say a binding list MyList as new BindingList (of T) and i know that any object in the collection will inherit from a base class that i have defined how do i call a base class method on a member of the ...
Score To VB or not to VB?
zacks - 5 Jan 2006 2:05 PM - 17 messages
A co-worker where I work is proposing all future code devopment be done in Visual C#. Here is his assessment of VB: VB.NET is hack as far as the CLR(Common Language Runtime) goes.  It was retrofited into the .Net framework for those people who simply don't, ...
Score To VB or not to VB?
zacks - 5 Jan 2006 2:05 PM - 63 messages
A co-worker where I work is proposing all future code devopment be done in Visual C#. Here is his assessment of VB: VB.NET is hack as far as the CLR(Common Language Runtime) goes.  It was retrofited into the .Net framework for those people who simply don't, ...
Score Dir(strPath, +R +A +S +H) keeps returning hidden folders
Christian Blackburn - 5 Jan 2006 1:20 PM - 4 messages
Hi Gang, All I want is to be able to search a file for files matching a certain criteria.  However, VB seems heart set on returning hidden folders along with my list of files.  I've tried the following: ...
Score Tip of Day
Mika M - 5 Jan 2006 1:08 PM - 3 messages
Hi! My application has Splash Screen, and it is defined as Splash Screen using VB 2005 way... Application.myapp SplashScreen>frmSplashScreen</SplashScreen> Now I have problem how to show "Tip of Day"-form, because it will stay ...
Score Sending Emails from Code
Helen Trim - 5 Jan 2006 12:17 PM - 5 messages
I have a program that sends emails automatically.  It works correctly, but each time it sends an email, a message appears warning the user and they have to wait 5 seconds for the Yes button to appear before they can click it.  ...
Score For each ..... next Question
mabond - 5 Jan 2006 11:27 AM - 5 messages
Hi My application browses the contents of a network directory and displays any powerpoint file found in the directory. On completion it returns to the start and begins again. The following is a snippet of the code that is used to get the name of the ...
Score Debugging in VS2005 - why is some code shaded grey?
Andrew Kidd - 5 Jan 2006 10:52 AM - 12 messages
I see this when I'm stepping through in the debugger ... just thought I'd ask, and I just know it's going to be one of those "Doh" moments, but it's got me foxed just now. ...
Score Re: Epson TM-T88III Thermal Printer
leeeyre - 5 Jan 2006 10:06 AM - 3 messages
Did you ever manage to resolve this as i have the exact same problem? Thanks, Lee -- leeeyre ------------------------------------------------------------------------ leeeyre's Profile: [link] View this thread: [link] ...
Score Oggetto Application di excel in vb net 2003
Pierre - 5 Jan 2006 10:05 AM - 2 messages
Scusate ma sono da poco passato a scrivere qualche riga di codice in vb.net 2003 ma non sono stato in grado di ritradurre la riga sulla selection sort e continua a darmi errore sull'oggetto application qualcuno è in grado di aiutarmi ? ...
Score VBA to HttpWebRequest
markandrew - 5 Jan 2006 9:28 AM - 2 messages
I hae the following VBA script that works fine but I cannot get HttpWebRequest to do the same job. I get a logon failed error. Can anyone craft an example from this info? Sub Get1Report() Dim doc As Object 'For storing the downloaded report ...
Score Rights for dev
Andy - 5 Jan 2006 9:06 AM - 2 messages
Hi When you're using your computer for development, are there any real needs for using an account with local admin rights? I'm just thinking from a security perspective. I guess you should be able to do all development with a restricted account, ...
Score Serializing / persistently storing & retrieving VB objects in & from SQL Server
Martin Widmer - 5 Jan 2006 8:48 AM - 2 messages
Hi guys I am wondering what is a proper way to persistently store objects into SQL-Server. I see four possible ways: 1.) Serialize to XML and then store the XML in the SQL server 2.) Write a new serializer that serializes the object by storing each ...
Score XML question
Aaron - 5 Jan 2006 7:24 AM - 5 messages
Hello, I am using VB/ASP.net 2005. When I click submit it refreshes the page without entering the data from all the text boxes and not entering in the Game1.xml. here is the asp.vb code Imports System.Xml ...
Score How to loop thru each controls ?
Kay - 5 Jan 2006 6:42 AM - 3 messages
Hi all, I have a 42 groupboxes in a panel, each groupbox has 3 check boxes in it. The 42 groupboxes are actually in a panel, and the panel is on the second tab page of a tab control... What I need to do is to find out the value of each checkbox (i.e. checked or ...
Score Address Matching System
Mario - 5 Jan 2006 4:21 AM - 5 messages
Help......... I have a CDROM that has address information from the USPS. If you have any source code for this I would appreciate it. What I want to do is pull the address and zip code from the CDRom and store ...
Score Setup and Deployment and Microsoft Jet OLE DB Provider
Saber - 5 Jan 2006 12:44 AM - 5 messages
In VS 2005 I made a setup project for my application. The application uses a mdb file and needs Microsoft Jet OLE DB Provider to run on another PCs. In Prerequisites section of Setup Property Pages there are some checkboxes ...
Score WIA.ImageFile to System.Drawing.Image
Jeremy - 5 Jan 2006 12:43 AM - 3 messages
I am creating an imaging service using WIA (Windows Imaging Acquisition). The problem is that I cannot convert a WIA.ImageFile to a System.Drawing.Image to put a timestamp on the image without first saving the file using the wia.imagefile.savefile then loading it again ...
Score SqlConnection component in VB.2005
Roman - 4 Jan 2006 10:14 PM - 7 messages
Hello I have a component built in VB.2003. It has the following property:    Public Shared mCONN As SqlConnection    Public Property Connection() As SqlConnection       Get           Return mCONN ...
Score Can someone point me to the english foxpro group?
cj - 4 Jan 2006 10:01 PM - 3 messages
Please. ...
Score Excel automation???
Alain "Mbuna\ - 4 Jan 2006 9:03 PM - 8 messages
Hi everybody. In my program I have some data that is calculated after some input from the user. I have written some code that opens an Excel workbook, with 5 worksheets and the calculated data (no database!)with some titles and info, ...
Score How to check Excel version number with .net?
Alain "Mbuna\ - 4 Jan 2006 8:28 PM - 2 messages
Hi everybody. Does anyone know what code I should use to check for the version number of Excel, installed on a computer? Thanks. Alain. ...
Score SerialPort1.ReadLine
Jan - 4 Jan 2006 8:00 PM - 3 messages
Hi why is this piece of code not working????? It's getting really frustrating. I can not figure it out. If I replace the readline method for readchar it's working. But one character. I want to read everything from the serialport ...
Score VS2005 - Debug and Locked Files
JR - 4 Jan 2006 6:16 PM - 8 messages
VS2005 Team Developer edition (final) developing a Windows Application When in debug mode if you make any changes to the application settings or project properties, the next time I attempt to debug I get "The operation could not be completed. The process cannot access the file ...
Score VB6 -> .NET Roadmap Questions
Old VB6 Guy - 4 Jan 2006 5:30 PM - 2 messages
First of all, sorry if crossposting bothers you -- I don't normally do it, but both of these groups seem relavant to my questions. Alright, the time has finally come to make an investment in time and money to jump start my career again.  I am currently a VB6/ASP ...
Score IRDA with VB2005
Roger Allen - 4 Jan 2006 5:24 PM - 5 messages
Hi: I am trying to write an app in VB2005 that can send data to another device via the IR port on my laptop. I do not want to use Comm Port workarounds. Does anyone know of code examples, or any clue how this can be done. ...
Score Color theme of toolstrip and menustrip
Teemu - 4 Jan 2006 5:16 PM - 5 messages
I'm wondering if there is a easy way to change for example toolstrips appearance. I'd like to have the same theme as in VB2005. Brown backgroung instead of the light blue. Can this be done without creating own custom draw ...
Score its a pain!
Bob - 4 Jan 2006 4:36 PM - 4 messages
I found it a real pain working with the datasets and table adapters and bound records. Here's why. During development I find I occasionally have to change some part of a table definition. Say I forgot to make the primary key an identity column ,yeah ...
Score generics.addnew - follow question
guy - 4 Jan 2006 4:09 PM - 3 messages
if i use  Generics.AddNew how do I pass an object to the items constructor? I have a set of class all inheriting from a base class, all requiring one parameter on their constructor - the data passed to it will be the same ...
Score accessing listbox item value
Candace - 4 Jan 2006 4:02 PM - 3 messages
I am just learning to program and cannot figure out what is wrong with the following line of code. I am trying to take the value of one item from a ListBox and assign it to a string variable. Please help. Thanks. ...
Score Solution rebuilding issues VS2005
Andrew Kidd - 4 Jan 2006 3:49 PM - 5 messages
Is there any reason that VS 2005 only selects some project to rebuild when I hit the "run debugger" (F5)? We have a solution with 12 projects in it, and I'm debugging one of them right now. I change some code, hit F5 and get the following error message: ...
Score Unmanaged C dll call
Bob Simoneau - 4 Jan 2006 3:15 PM - 6 messages
I am trying to get a C DLL to work with VB.NET 2005. Below is the original header, my conversion, and test code.  There is no error, but RVERSION_RESP.version returns empty.  I must be missing something.  Thanks ...
Score Armin - Start sound problem revived in new thread
Jack Sadie - 3 Jan 2006 6:53 PM - 9 messages
Armin, Renewing my request for help to have a different Windows Start Sound for each day of the week. I have started again completely. Opened a new project called Windows Application 1 and immediately selected the menu View/Code and entered the ...
Score not all paths return a value
guy - 3 Jan 2006 4:30 PM - 3 messages
i have inherited the following migrated vb6 code (vb2005) but i DONT get the "not all paths return a value" squiggly - is this a 'feature' of on error goto?     Private Function CreateFolder(ByVal sFileName As String) As Boolean ...
Score adding asynchronous support
matt - 2 Jan 2006 10:00 PM - 5 messages
i have a VB.net application that connects to the internet to download an xml file and parse it. It works correctly, but "locks up" until that function returns.  i want to add asynchronous support, but i'm confused on where i ...
Score Displaying info in status bar of main form
Terry - 1 Jan 2006 12:03 AM - 8 messages
I have a Mainform with a Statusbar. When opening another form or doing some processing I want to display info in the Statusbar of the Mainform. I have read a lot of articles on this & have come up with the code below. It seems ...
Next » 2 3 4 5 6 7 8 9 10