Answer Questions
Alistair Peterson Database question....
In my VB 6 app I used an access DB with 77 tables each representing a different company products. They are ALL the same format just different company names for each table. In VS2005 I would like to use just one table and have about 3000 records with the column MFG. Obvioulsy this makes for quick response from the program. Here's the problem.... In the old app I populated a combobox with each table so the user could quickly navigate to the ...Show All
jimwill 2005 App terminates when I switch to another program
My VB.NET 2005 application terminates any time I swtich to another program, both in the IDE and deployed. For example, I'll run the app in the VS.NET 2005 IDE, and CTRL-ALT toggle to Internet explorer, and my app terminates. There is no warning or error, it does not break on any line of code. It just disappears. Any thoughts Thanks in advance. Adrian Just a few questions. First, are you certain ...Show All
leandro_ Thread-safe call
The following gives the error (...does not have the same signature as delegate...) and I am not sure how to solve (being new to thread calls): Private Sub DataReceived( ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived If e.EventType <> IO.Ports.SerialData.Chars Then Exit Sub SerialData = SerialPort1.ReadExisting DisplayThread = Ne ...Show All
ie1jch Visual Basic 2005 Express Ed. BETA 2
Hello. I was wondering if it's possible to get Visual Basic 2005 Express BETA 2 on CD without having to have a Credit Card in Australia. I have tried the manual and automatic downloads and they don't work for me at all, both at home (not connected to internet) and at work. (I couldn't use the automatic download at work due to me not having admin privleges) Thanks. I've Installed it! It's great! It's better then BETA 1! Send my regards ...Show All
myriads Manually populate a combobox
All I want to do is manually populate a combobox with a displaymember and valuemember. I would've hope something like this would of work; combobox.items.add(new listitem (dr("Name"), dr("ID"))) but there is not listitem in VB.Net. So what would I use Thanks, Mike Hi, you can build your own classess and add them to the combobox. You have to override the ToString() Method with the value that shall be ...Show All
Irina! Full Text Search in Visual Basic
I am trying to create a simple full-text search application in Visual Basic (2005 Professional trial version). I have been successful in doing full-text searches within SQL Server Management Studio using SQL queries, so the database has a working catalog, index, etc. Here is a sample SQL query statement that I have used in SQL Server Management Studio: SELECT SectionText FROM Full_Documents WHERE CONTAINS (SectionT ...Show All
MichealCollins C++ exported functions to VB.net
New to C++. I am writing a DLL which exports functions to be called from VB.net. Following samples I have exported some simple functions which can be seen in VB.net but when I try a more complicated function it is not seen in VB.net. C++ makes no complaints when I complie and link. #pragma once using namespace System; namespace MathFuncs { public ref class MyMathFuncs { public : // Retur ...Show All
SHIYAS Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All
Fendy Reproducing a File.Copy ArgumentException
Hi, I'm trapping System.IO.File.Copy exceptions and cannot reproduce a ArgumentException when 'sourceFileName or destFileName specifies a directory.' as documented. Does not Work: Catch argument As ArgumentException When IsDirectory(sourceFileName) Or IsDirectory(destFileName) ... error messages Catch argument As ArgumentException ...error messages Does: Catch io As IOException When IsDirectory(sourceFileName) O ...Show All
harrybosh Toolbox still does not display user controls.
My project, which has 2 user controls in it- does not display the user controls in the toolbox. Has anyone else had this problem, and/or know of a solution I have tried adding other user controls to the project, they do not appear in the toolbox. I have tried creating a new project, and it's user controls DO show up in the toolbox. If I add the user controls from the first project to the new project -THEY show up in the toolbox for that projec ...Show All
Sonnet Is it possible to change the column header backcolor of datagridview?
Hello, Is it possible to change the backcolor of Column header of datagridview. I can change style, height, width of the column header of datagridview but i'am not able to figure out how to change the backcolor of column header. Please help me. Thank you in advance. - Manju ...Show All
Ed Casey Visual Basic 2005 Question for Calling Another Program
Hi All, I have a question I'm trying to figure out - I'm writing a simple little VB app where I want to have a button or some type of action that when activated, it will call another application. I can get this to work, however, I need to be able to use switches with my application and that is generating an error when I try to run my app. The following is the code I'm using (I'll use notepad as the sample program I'm trying to run) Di ...Show All
offordscott BC30002: Type 'System.Net.Mail.MailMessage' is not defined
Hi all, I've just started developing with VS2005 Express beta 2 edition. I'm trying to get my app to send a mail to users on submit of their details, but when I try and run the app (before I even get to the submit button) I egt the above message. I attach a snippet of code: - try Dim objMsg As New System.Net.Mail.MailMessage(fromaddress, toaddress, subject, body) Send ...Show All
fpsoft Stopping Alt+Ctrl+Del
Hi all I'm writting a program for public payable networked computers for playing games. I've got the server/client billing and other stuff like that done. Problem is, when my program boots up, it displays a full screen form (on top of everything), which holds the login/programs they can use/play. I've managed to remove the Alt+Tab, Alt+F4 and other key combinations like that. Although, i'm finding that Alt+Ctrl+Del still brings up task ...Show All
goke VB.net 2002 Windows App and network security
I have a windows application that when run locally on a computer works great. When it is installed and run from a server the following error is received: Request for the permission of type System.Security.Permissions.EnvrionmentPermissions, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. I am not using a Sub Main but have the application set to open a splash screen where I perform a record check to ...Show All
