Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score set datagridview sort back to nothing
Rick - 7 Apr 2007 11:53 PM - 3 messages
VS 2005/Pro I'm using a DataGridView in a Windows form and allowing the user to sort the columns by clicking on the header column. Is there some method offered by the grid to return back to the unsorted ...
Score create shared new directory
Matt F - 7 Apr 2007 11:14 PM - 2 messages
I need to create a folder in code, and also set sharing to being shared to everyone with full control (or some such variation of security) What I'm doing now is: If Not System.IO.Directory.Exists(My.Application.Info.DirectoryPath & ...
Score Date math
Andrew - 7 Apr 2007 8:34 PM - 11 messages
Having trouble with some date computations.  I need to get the date of a specific day within a month - the 1st Thursday or the 2nd Monday, etc.  I found an article ( [link]) that ...
Score SendMessage WM_COPYDATA on 64bit System
Thomas Kehl - 7 Apr 2007 6:55 PM - 2 messages
Hello. I use the fallowing Functions to send Message from one Application to another. This is working correct on a 32bit System. But on a 64Bit System, the Target-Application will no received anything. Can somebody help me, what I am doing wrong? ...
Score setting wallpaper style in vb.net
Patrick Dugan - 7 Apr 2007 4:35 PM - 3 messages
The code below is what i have been *trying* to use to set the desktop wallpaper picture and the Wallpaper style.  The picture gets replaced with the new image each time, but the style never changes. Whatever it is set to in the "Display Properties > Desktop" is where is ...
Score Checking if all elements in an array are equal
jimmy - 7 Apr 2007 11:14 AM - 3 messages
Hi, I have an array of type integer which i now want to sort through to find out if all of the elements are equal to one another. I have code that finds the lowest element in the array however i am struggling to ...
Score Help : Replace title bar/Add fixed sets of controls/images to every screen ?
TonyB - 6 Apr 2007 8:16 PM - 2 messages
Hi, Repost of question in microsoft.public.vb.general.discussion as was pointed out vbdotnet is not same language as vb6. I'm new to vb.net and have a question re user interface.(Is there a better vb.net ...
Score Changing the startup type on a remote system
NetworkElf - 6 Apr 2007 7:16 PM - 7 messages
I am trying to write a little utility and it needs to check the startup type of a given service on a remote machine and, if it is disabled, set it to manual. I have found out how to do this on the local machine using ...
Score Building, making an exe
Zamdrist - 6 Apr 2007 7:02 PM - 2 messages
So I changed my configuration from Debug to Release, rebuilt both the solution and the application. I copied the program executable from \bin folder to another machine, here is the error I get: The application attempted to perform an operation not allowed by the ...
Score Entity Creation
Charlie Brown - 6 Apr 2007 6:33 PM - 3 messages
I am trying to understand a concept that I have read about, but have not seen in action. If I have a database table called Customers, a class named the same and each field in the class has the same names as the columns in the ...
Score DragDrop Question
Ratnesh Raval - 6 Apr 2007 5:38 PM - 11 messages
Hi All, My question is on DragDrop, How would I implement a Drag from listview and Drop on Desktop or any other folder on the computer. The listview contains list of files, so basically I should be able to drop ...
Score going from a vb6 .ocx to .net dll called from a .asp web app
JC - 6 Apr 2007 5:26 PM - 2 messages
I currently have a .asp on a 2k server that calls calls a .ocx (VB6) with parameters that process data and returns info back to the .asp.  I have rewritten the .ocx using VS2005 vb which creates a dll that would replace the ...
Score Two Vb/Web questions
active - 6 Apr 2007 5:05 PM - 3 messages
How to have a String variable available to all (or some group of) pages in a web site. How to reference a variable in a class from another class. Thanks for any help. ...
Score remove control from tab page
Stephanie Doherty - 6 Apr 2007 2:44 PM - 2 messages
Can anyone tell me how to programmatically remove a control from a tab page from VB .Net? The control was added using: Me.TabPage1.Controls.Add(pb) but I don't know what its index number is to remove it using: ...
Score Error Message
John - 6 Apr 2007 2:05 PM - 2 messages
What does this mean? Managed Debugging Assistant 'PInvokeStackImbalance' has detected a problem in 'C:\My Documents\Microsoft Visual Basic\CommuniDent\CommuniDent\bin\CommuniDent.vshost.exe'. Additional Information: A call to PInvoke function 'CommuniDent!CommuniDent.frmMain::sndPlaySound' has unbalanced the stack. This is likely because the managed PInvoke signature does not ...
Score passing strings to ole com server
Brad - 6 Apr 2007 12:20 PM - 3 messages
i need to create a com server dll from some vfp code i have sucessufly compiled and run one example i found i am having a problem adapting this to my needs. basically, i have one function i am calling which needs a string as a prameter ...
Score How to create 2 dimensional dynamic array (vb.net or c#)
singleb - 6 Apr 2007 11:38 AM - 3 messages
I've tryed to something lik this and got "Object reference not set to an instance of an object."      Dim myarr(,) As String      myarr(0, 0) = "aaaa"      myarr(0, 1) = "bbbb" ...
Score OO Architecture Question
Mike Hofer - 6 Apr 2007 3:33 AM - 10 messages
In a large application I'm working on (ASP.NET 1.1, VS2003), we have a base class that wraps stored procedures. Essentially, this base class (StoredProcedureBase) encapsulates the code to set up the connection, transaction, command and parameters required to invoke a stored ...
Score Sql server express SP2 Bootstrapper package
Steve - 6 Apr 2007 2:19 AM - 4 messages
Hi All I downloaded Sql server 2005 express SP2 and attempted to modify the Bootstrapper package files as I did with SP1 When i try to install SQL server as part of my VS 2005 deployment app I get an error at the end  of the SQL server install phase 'Invalid endpoint'. ...
Score Lookup Field Values Based on Combobox Change
Randy - 6 Apr 2007 1:46 AM - 3 messages
Hi, I'm trying to populate textbox values upon a change in a combobox selection.  I'm using the Publishers table in the Pubs sample database as a simplified example.  Here is the code: Private Sub cboPubID_SelectedIndexChanged(ByVal sender As ...
Score try\catch getting the right line number
Jeff Jarrell - 6 Apr 2007 12:20 AM - 5 messages
I have a block of code that during development is prone to casting errors. It is mostly a DataReader type thing. It looks something like this. _prtPNID = myDLReader.GetString("prtPNID") _prtSKU = myDLReader.GetString("prtSKU") _prtPic = myDLReader.GetString("prtPic") _prtRsvQty = myDLReader.GetInteger("prtRsvQty") ...
Score C++ to VB conversion and preprocessor definition
mark - 5 Apr 2007 11:08 PM - 3 messages
I am contemplating converting a huge collection of functions from C++ to VB.NET. I am concerned with a style used in the original code where a variable is set to a constant value with the # define preprocessor symbol. For example: ...
Score File Icons
Peter - 5 Apr 2007 10:10 PM - 3 messages
Hello, Is there a way to, after creating a binary (or other kind of) file using a FileStream object, to set its icon in Windows? ...
Score VB.Net calendar control
Susan - 5 Apr 2007 9:15 PM - 2 messages
Hi, Can anyone please recommend a calendar control that show either one month or 12-month view and also be able to select multiple contiguous or incontiguous dates? Basically I need a one looks just like the built in monthCalendar ...
Score Help with deployment?
SAL - 5 Apr 2007 8:14 PM - 3 messages
Hello, I've created a setup and deployment project for my application.  VS2005 automatically included a launch condition for the .net framework 2.0. I changed the InstallUrl path Property to just the name of the redistributable (dotnetfx.exe), which is in the same folder as my setup.exe and setup.msi. ...
Score Need definition of Field vs Property
Internet User - 5 Apr 2007 6:38 PM - 5 messages
What is the definition of a field in VB.net (other than database functions)? How does one distinguish between a "field" and a "property"? Or are fields and properties related to each other in some way? Thanks in advance. ...
Score Help converting a C program to VB.NET or VFP
Edhy Rijo - 5 Apr 2007 6:05 PM - 3 messages
Hi all, I need a C programmer to help me out convert the single file attached to either VB.NET or VFP.  Does anybody know any C programmer that can do this kind of conversion? Thanks! ...
Score Help with TableAdapter in VB Express
Randy - 5 Apr 2007 3:35 PM - 3 messages
Hi, I'm trying to fill a combobox with values from a sql table.  Data seems to be connected fine.  Apparently in VB Express sqlDataAdapter doesn't work, or at least I can't make it work.  Searching the help ...
Score Is there a way to get the current date / time on a remote PC?
William Cruz - 5 Apr 2007 2:28 PM - 4 messages
Is there a way to get the current date / time on a remote PC? William *** Sent via Developersdex [link] *** ...
Score Windows Forms
shapper - 5 Apr 2007 2:19 PM - 2 messages
Hello, I usually develop Asp.Net 2.0 (With VB.NET or C#) web sites with SQL 2005 databases. A few of my web sites use online CMS with AJAX. I need to create a Windows Vista compatible application that includes ...
Score Using VB.NET in VB6
Kevin S Gallagher - 5 Apr 2007 1:47 PM - 8 messages
I am looking for any technical articles i.e. MSDN or other sources explaining how to incorperate VB.NET into VB6 projects in the form of a .NET DLL. Thanks for any assistance, Kevin ...
Score WTD: Simple Function to Export DataGridView to Excel
Mike Wilson - 5 Apr 2007 1:04 PM - 3 messages
Dear all, I'm sure someone has already done this, so as not to wish to re-invent the wheel - and Google not turning up anything I can use, does anyone have a suitable function into which I can pass a DataGridView - and have all the ...
Score Data duplication of each record in Crystal report
haresh.amis - 5 Apr 2007 11:23 AM - 2 messages
hi to all, this is Haresh Bhatt, I make a view in MS SQL 2000 and execute it gives me expected result. but when I run the crystal report it gives me result in duplicate records. View work fine in SQL Server but in Crystal report each record display ...
Score VB 2005 EXE Cannot Be Launched From A Server
jamil - 5 Apr 2007 11:18 AM - 3 messages
I have developed an EXE that executes successfully when it exists and is launched from a Win2000 or XP client PC.  If I was to copy this EXE to a network share, where the client has full admin access, the EXE ...
Score How do I complete this?
Jeff - 5 Apr 2007 6:24 AM - 11 messages
I'm still new to vb.net and even newer to using stored procedures in mysql. The called procedure will return a single row from the DB. I'm not sure how to get that value into a DataTable. I think I need to use ...
Score Help with Variable Type
Randy - 5 Apr 2007 6:15 AM - 2 messages
Can somebody please help me to place the correct variable type into this declaration statement?       Dim da As ???? = New SqlDataAdapter("SELECT pub_id FROM publishers") I'm trying to capture the records from this table so that I can use ...
Score interactive macro with windows forms
interuser - 5 Apr 2007 5:55 AM - 4 messages
Hi I want to make an interactive macro that will popup a form with buttons, checkboxes etc. How can I do that? Any examples will be appreciated. Thank you ...
Score Bizarre Exception
Peter - 5 Apr 2007 3:29 AM - 10 messages
I am having a hard time figuring out exactly why this code is throwing a System.NullReferenceException when I try to access the SelectedValue property of the ComboBox. It happens on the line marked with a star (*). It says "object reference not set to an instance of an object," but I do have ...
Score How to import a DLL of C++ to VB projects with DLLImport
olc@online.nospam - 5 Apr 2007 2:42 AM - 2 messages
I was using managed code DLL from C++ to VB projects. But it seems the configuration of the project is wrong that I can not import the DLL with DLLImport. ...
Score Trouble with Process.Start
Matt F - 5 Apr 2007 2:01 AM - 6 messages
I have a relatively command that I'm attempting to get process.start to execute. When executing the command, I get a "The system cannot find the file specified" error.  I've gone to the trouble of making sure the entire ...
Score I guess nobody know formatting in the DataGridView?????????????????????
Zim Babwe - 4 Apr 2007 10:13 PM - 3 messages
I have an unbound DataGrieView on a Windows form (VS 2005) and I have added a column to a DataGridView Dim textCol As New DataGridViewTextBoxColumn textCol.Name = "ContactPhone1" dgcontacts.Columns.Insert(.Columns.Count, textCol) dgcontacts.Columns("ContactPhone1").DefaultCellStyle.Format = "(000) ...
Score Getting all the full paths of files in a directory
Robert Dufour - 4 Apr 2007 9:37 PM - 5 messages
In Vb.net 2003 I need to get all the names of any files that are in a particular folder, not in it's subfolders and put these in an array so that I can loop through it after getting the names. ...
Score MyBase.Dispose: NullReferenceException was unhandled
Martin H. - 4 Apr 2007 7:55 PM - 6 messages
Hi, I've got this problem: I currently work on a control which inherits from ListBox. In my control I shadowed the Items with a custom ObjectCollection, which has some additional properties. Now, this happens: If I add some entries to my control, click on one of the items and then ...
Score How can I check if a letter in a string is upper case or lower case ?
fniles - 4 Apr 2007 6:52 PM - 15 messages
In VB.NET 2005 can I check if a letter in a string is upper case or lower case ? For example: I have the following 2 lines: NQ,Z2003,11/11/2003,1416.5,1420,1402,1411.5 NQ,z2003,11/10/2003,223801,260154 ...
Score CallByName w/ComboBox
Timberwoof - 4 Apr 2007 5:20 PM - 2 messages
For i = 1 To 3     CallByName(Form1.Controls("ComboBox" & i), "items.add", Type.Set, "1st item")     CallByName(Form1.Controls("ComboBox" & i), "items.add", Type.Set, "2nd item")     CallByName(Form1.Controls("ComboBox" & i), "items.add", Type.Set, "3rd item") ...
Score Tree View
tclancey - 4 Apr 2007 5:10 PM - 2 messages
Hi. I have an app that uses a tree view control to list locations, when the tree is clicked the application searches for stock in locations and displays them in grid. It's an odd thing, when I click a new tree node the previously selected and ...
Score Help with TableAdapter
SAL - 4 Apr 2007 4:53 PM - 9 messages
Hello, Using the designer in my project, I created a DataTable for one of the tables in an Access database. I created a TableAdapter for that DataTable by adding queries. For the most part, the queries are executing correctly but ...
Score Question about ImageList
Diego F. - 4 Apr 2007 4:18 PM - 2 messages
Hi again. Is it possible to insert an image in a ImageList object in a specific position? Something like ImageList1.Images[3] = Image I mean, any kind of InsertAtPostition method for ImageList? ...
Score Renaming Mide files to include element from File Properties
Jack Maxwell - 4 Apr 2007 3:57 PM - 2 messages
Hope someone can help here.   My brother has asked me if I can assist in renaming about 1500 midi files which are associated with a programm called Cubase SE.   With that software installed he can click on the file ...
Score string manipulation
Mike - 4 Apr 2007 2:59 PM - 4 messages
I am running vs 2005 and withing vb I have code that will lookup dns and will give me the host name back, but I need to truncate the host name and have it populate into a text box on a form. ...
Score Help Tool
vovan - 4 Apr 2007 2:10 PM - 3 messages
What tool is used for Help creation for VB 2005 application? Is still HTML Help Workshop? Or there is something newer? Thank you vovan ...
Score Telling if an app has a file locked
Smokey Grindle - 4 Apr 2007 2:06 PM - 3 messages
I need a way to tell if a program such as word or excel has a document it locked (open for editing). Is there any way to do this in VB.NET? All I need is a its open for editing or not response thats all... thanks! ...
Score Re: VB Application Won't Run on Other Machine
Branco Medeiros - 4 Apr 2007 1:34 PM - 2 messages
cddiller wrote: <snip> <snip> Not a fight or Feud battle. Your thread had the misfortune to catch the attention of the troll-on-hold that pesters this list (and a few unlucky others, if I'm not mistaken). ...
Score VB.NET 2005 and Crystal Reports
Michel Vanderbeke - 4 Apr 2007 12:55 PM - 2 messages
Hello, I want to create Crystel Reports using Crystal Reports XI Release 2 and store the reports as individual files on my PC. My database is a *.mdf (SQL Server database file). 1. Which connection method should I use when creating Crystal Reports in CR ...
Score Crystal Reports export to text
Liliputanac - 4 Apr 2007 10:43 AM - 7 messages
Hello. Is there a way to accomplish this from VB.NET 2005 ? thnx. ...
Score ListView items images
Diego F. - 4 Apr 2007 8:54 AM - 2 messages
Hi. I'm having a problem with listview controls. I'm using a control that adds drag and drop functionality to a listview (I get the control from codeproject). Now I'm having problems when dragging items that have images. I first ...
Score Add Listview item to the top of the list
Manfred - 4 Apr 2007 8:49 AM - 3 messages
Hello I try to add a listview item to the top of the list. I couldn't find the solution to this. After adding the item I like to remove the last item if a certain number of items is reached. ...
Score Select Value From Specific Table Column in TableAdapter
Rich Hutchins - 4 Apr 2007 4:22 AM - 4 messages
I'm not really sure how to ask this question because I'm still getting my feet wet with data access and VB.NET, but here goes: To start off with, I'm using VB 2005 Express to connect to an Access database. ...
Score custom user control ? anyone use them?
Ron - 4 Apr 2007 2:35 AM - 3 messages
I would like some more information on custom controls, what they can do and things like that, what you would use them for etc... Can anyone here share some examples of what you have used a custom control for and possibly email a zip file with that control so I could ...
Score VB Assistance
mommakind - 4 Apr 2007 12:19 AM - 11 messages
I'm having some trouble figuring out the logic to a homework problem, and since my teacher is out of town for a few days I thought I would check in here and see if someone can help me. I have lstClasses, which has a list of 5 classes.   I have lstCities, ...
Score [Newbie] data acces with ado
laurent couraud - 3 Apr 2007 11:08 PM - 2 messages
Hello all, first, sorry for my bad english i m french. i want to fill a datagridview with data from a database. more precisely i want to fill datagridview with some field of somme table. for example i want to fill the datagridview with: ...
Score Angle Brackets?
Peter - 3 Apr 2007 9:46 PM - 3 messages
Hi, I was wondering, can anyone tell me what statements in angle brackets are for in VB? For example, the default <System.Diagnostics.DebuggerStepThrough()> thing that the IDE puts before the InitializeComponent method of a form. ...
Score Help copying selected lines from a multiline textbox.
Mike - 3 Apr 2007 8:11 PM - 3 messages
I am trying to write a little program for my own use using VB2005 express edition. I have a list of peoples names in a file that I read into an array of strings. I am using a multiline textbox ...
Score VB2003 Book??
Don - 3 Apr 2007 7:51 PM - 6 messages
Can anyone recommend a good book for learning to use VB2003? I'm interested in something like Rocky Lhotka's "Business Object" books. I know he wrote one for VB2005 but I'd like a VB2003 specific book if a good one exists. ...
Score use what collection object to hold existing datatable?
Rich - 3 Apr 2007 7:36 PM - 5 messages
Hello, In my vb2005 app I create 3 datatables in the Datasource area, tbl1, tbl2, tbl3.  tbl1 contains 1 column, tbl2 contains 2 columns tbl3 contains 3 columns. Based on selections from a form, I want to populate on 1 of the 3 tables ...
Score Menu bar disappeared on Windows form
Ronald S. Cook - 3 Apr 2007 7:18 PM - 2 messages
I started up my Windows project and, whoa, my menu bar items have disappeared.  The events are still in my code-behing but what's up?  Is this a bug or something? Thanks, Ron ...
Score How to unzip a file ?
fniles - 3 Apr 2007 7:13 PM - 14 messages
In VB.NET 2003 how can you programmatically unzip a ZIP file ? Thank you. ...
Score How to download a file from an HTTP website ?
fniles - 3 Apr 2007 7:12 PM - 3 messages
In VB.Net 2003 how can I download a file from an HTTP website ? For example, I need to download file abc.zip from [link] Thank you. ...
Score Filling an Array Randomly
John - 3 Apr 2007 7:09 PM - 6 messages
How can I fill an array randomly so it contains a certian range of numbers (1 - 100 for example) ? My Goal is to generate a set of numbers in random order. ...
Score Controls property in designer
Tom C - 3 Apr 2007 6:45 PM - 4 messages
I need to expose a property as a list in the designer properties. Somthing like Friend Property MyControlChoice as system.string get return me._myControlChoice end get set value as system.string me._myControlChoice = value end set end property But the choices need to be a strong typed list so we can extend it. I ...
Score Parsing Buffer Data
RG - 3 Apr 2007 5:53 PM - 3 messages
I am having trouble parsing the data I need from a Serial Port Buffer. I am sending info to a microcontroller that is being echoed back that I need to remove before I start the actual important data reading. For instance this is my buffer string: ...
Score Zero fill left
tshad - 3 Apr 2007 3:22 PM - 11 messages
Is there a way to zero fill a numeric into a string that is a fixed lengh of 10 chars? In Sql I would do something like: Right("0000000000" + Convert(varchar,amt),10). Is there an easy way to do this in VB.net code? ...
Score AutoSave Crash Recovery
John Wright - 3 Apr 2007 3:01 PM - 4 messages
I want to create an autosave and crash recovery module for my program.  I imagine I would have to use a timer control on the form to call the autosave functionality but I need a starting point.  I would like it similiar to the ...
Score Checking for nothing
John - 3 Apr 2007 1:23 PM - 4 messages
Hi How can I check a variable for Nothing? Thanks Regards ...
Score Sub name and line number
John - 3 Apr 2007 1:12 PM - 3 messages
Hi For error logging purpose, is it possible to get from the vb system feature the SUB name and the line number? Thanks Regards ...
Score Enum problem
MSNEWS - 3 Apr 2007 1:03 PM - 12 messages
HI Public Enum WindowStyles As UInteger      WS_OVERLAPPED       = 0x00000000      WS_POPUP            = 0x80000000      WS_CHILD            = 0x40000000 ...
Score Combobox text changed
Ivan Jericevich - 3 Apr 2007 11:19 AM - 2 messages
I am using the Combo box with data binding. with a list of names. When a new name is selected I am using the Text Changed property to pick up the new ID with Tag which updates the data for the selected new name. ...
Score Garbage collector in datagridview.
coco343 - 3 Apr 2007 11:09 AM - 5 messages
Hello, I'm using a datagridview with an inner dropdownlist for a column. The datasource for the gridview and the dropdrownlist is a object, with inner collection for the dropdrownlist. When i change the datasource of both and i clear the binding of the ...
Score Help with function in VB.
teejayem - 3 Apr 2007 9:22 AM - 3 messages
Hello, I am new to VB.NET. I am working on a little application and would be extremely greatful if someone could help me with the following. I am a Systems Administrator.  The application I am writing will run ...
Score Converting VB structures
Brenton Norman - 3 Apr 2007 3:41 AM - 2 messages
Here is a VB6 structure declaration and an associated variable before conversion from VB6 to VB .Net (2003): Type CasData     RecType         As String * 1     ConsNo          As String * 3 ...
Score Add buttons to form at runtime? working on this all day.
Ron - 3 Apr 2007 1:39 AM - 4 messages
Can anyone help me out?  I am trying to add buttons numbered one through 10 at runtime to a form. I think they are getting added but they seem to be getting stacked one on top of each other.  so I only see 1, and not the others. ...
Score serialport1 mscomm equivalents
RG - 3 Apr 2007 12:11 AM - 3 messages
I am looking for the equivalent serialport1 event handler for "If MSComm1.CommEvent = comEvReceive Then" I am not able to find the "data received event" ...
Score Parameters not working in reportviewer
CGW - 2 Apr 2007 9:14 PM - 2 messages
For the first time I'm using .NET 2.0, reportviewer control, SQL2005 and VB. Every time a user selects a new parameter value on any report and clicks on view report, the paramters reset. This doesn't happen in our ...
Score VB Application Won't Run on Other Machine
cddiller - 2 Apr 2007 8:50 PM - 15 messages
Hi All, My office doesn's use VB all that much (mostly embedded systems development).  I adapted a co-workers VB application (from VB 6.0) to suit my needs using VB 2005 Express.  VB 2005 Express auto-updated the ...
Score How to count idle time
Mark - 2 Apr 2007 7:56 PM - 2 messages
Is there a nice way to determine how long a keyboard/mouse has been idle?  I was thinking the time could be recorded whenever a keydown or mousemove event fired and then have a timer fire periodically and compare Now to the recorded ...
Score Localization question
Robert Dufour - 2 Apr 2007 7:38 PM - 3 messages
In an english only application, it is fairly easy to make the table and field names in your application descriptive so that on creating the interface, most tools that bind data take the default field name and put it as the column name in say a grid control. ...
Score Passing information between microsoft access and vb
cci_ceo - 2 Apr 2007 7:30 PM - 3 messages
I am using vb 2005. IHow do I pass information from an microsoft access form to a vb form and back? ...
Score localization question
Robert Dufour - 2 Apr 2007 7:30 PM - 3 messages
In an english only application, it is fairly easy to make the table and field names in your application descriptive so that on creating the interface, most tools that bind data take the default field name and put it as the column name in say a grid control. ...
Score MATHS EVALUATOR
Pascal - 2 Apr 2007 7:01 PM - 5 messages
hi I TRY to find easy to use evaluator  of string like this (4*100)+(0.2*5) where the answer is 401. I tried several from codeproject (mcalc and other but without sucess). Does someone know a place where i can find this ? ...
Score Reading Binary file, the code change bytes
Freddy Coal - 2 Apr 2007 4:28 PM - 13 messages
Hi, I'm trying to read a binary file of 2411 Bytes, I would like load all the file in a String. I make this function for make that: '-------------------------- Public Shared Function Read_bin(ByVal ruta As String)     Dim cadena As String = "" ...
Score Host to IP
Øyvind - 2 Apr 2007 3:41 PM - 3 messages
I'm trying to make a windows form application to ping, and convert host to IP and IP to host. But it is little difficult to find a code that works, will it be a lot of programming, or can this be done with a short and easy ...
Score 2005 error
cj - 2 Apr 2007 1:21 PM - 6 messages
The below line gives me an error on DialogResult.No saying:  "Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated." It didn't give me that in 2003.  What does that mean? ...
Score Creating buttons at runtime, problem ......
Ron - 2 Apr 2007 1:01 PM - 5 messages
I want to create 10 buttons on a form at runtime, the code below is only creating one button labeled 1.  Any idea what I am doing wrong? Public Class Form1     Public code(10) As String ...
Score 3709 error in ADO when using persistant conenction
Sunil Pandita - 2 Apr 2007 10:10 AM - 2 messages
Hi All, I have created a VB.Net application that used classic ADO to access the oracle database. I have mentained a persistant connection in it. When i start the application and it works fine. All of a sudden i start receiving the ...
Score Access to VB
Daniel - 2 Apr 2007 8:05 AM - 4 messages
Are there anyway for ms access 2000 coding to be converted to VB 6 ? Thanks Daniel ...
Score Copy program crashes
TwistedPair - 2 Apr 2007 2:24 AM - 5 messages
All, Been trying to get a little program to work, and I think I'm really close, but I'm afraid I need to be pointed in the right direction.  The code below will watch a directory for files created.  If a file is created, it will ...
Score HTTP POST from VB app to PHP script
majik92 - 2 Apr 2007 1:27 AM - 7 messages
Hello, I'm in the process of rewriting a program I wrote in LUA to VB.NET. So, I am still learning the language (VB). I just have a question... I have a windows form called "mainPage". I want to connect to the ...
Score Newbie - SqlConnection Statement
Randy - 1 Apr 2007 11:42 PM - 19 messages
I'm trying to get a combobox to fill with values from a table.  I've set up an example using the Northwind database with the Categories table.  Dragging in the CategoryID field onto my form as a combobox, ...
Score How to use WINDOWS FIREWALL API?
m0a - 1 Apr 2007 11:36 PM - 3 messages
Hello! Could someone kindly show me how to use WINDOWS FIREWALL API in visual basic 6.0 Some snippets of code may help me with some basic documentation. Lets assume i want to block a port using the firewall api provided by ...
Score Just converted a prog from VS03 to 05 SQLDMO Issues
Jim - 1 Apr 2007 11:34 PM - 3 messages
I just converted a project from 2003 to 2005 and I am now getting the error below when trying to assign a variable object as SQLDMO.SQLServer and for the life of me I can't figure out what is happening. This was not a problem in ...
Next » 2 3 4 5 6 7 8 9 10