Answer Questions
Prophet Creating Office COM Add-Ins with Visual Basic .NET article - need help
Hello, I'm new to this type of programming and have found myself put in charge of a couple of applications that were created by a previous employee. So now I'm learning how to do this. I found the article listed in the subject on the msdn site and found it very informative and easy to read. I thought that the instructions were very much to the point and that there wasn't any confusing jargan put in. Unfortunately, after following through the ...Show All
Durone passing a dimensioned array values as argument to a procedure
I have difficulty in passing the contents of entire array variable as an argument to a procedure. Main Program; DIM x(100) As Single Call SubProgram(x()) SubProgram(ByVal x() As Single) End Sub Hi, I am taking a quantum leap from QB to VB.NET 2005 I get a wavy error message under () of X as "No of indices is less than the number of dimensions of the indexed array" . Any suggestion ...Show All
Squirrel VB Express 2005
Hi all, I just downloaded and installed VB Express 2005 Bata 2. When I ran it and select "New Project" and "Window" app, I get 5 dialog boxes that says: Title: Package Load Failure Package 'Visual Studio common IDE package' has failed to load properly (GUDI - {6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C}). Please contact package vendor for assistance. Application restart recommended, due to possible enviroment corruption. Would you like to disable load ...Show All
Madmaniakid uneditable combobox
I would like people to only be able to choose things that are in the list, not be able to edit/write in it as well THANX doesnt matter, sorry Set Combo Box property DropdownStyle to DropDownList ...Show All
JuanCarlosUlti httpwebresponse not support arabic language !!!!
I have to useing httpwebresponse for two pages, One is jsp and other asp. the charset is UTF-8 for both of them, while reading for jsp the arabic character are readed but in asp are not readed it come as spaces In asp page I use that code <%response,charset="UTF-8"%> what is the problem The same concept applies. The source string should be correct (I mean UTF-8). You need to enforce UTF-8 encoding in t ...Show All
junfanjohn System.DllNotFound Exception
I'm migrating from VB 6.0 to VB.NET 2003. There is a particular file abc.dll that I'm not able to add reference to, though its a dll file. When I try to reference it, the error is 'This is a not a valid assembly or COM component. Only assemblies with extension 'dll' and COM components can be referenced. Please make sure the file is accesible, and that it is a valid assembly or COM component' How can I reference this file ...Show All
howdy.dk Can some one help me to convert following function to vb, please
'// write data stream into 'void WriteBits(BYTE* p_buff, int pos, int len, unsigned long value) '{ ' int start_byte, end_byte; ' int start_bit, end_bit; ' int byte_pos; ' BYTE width_mask, or_mask, and_mask; ' BYTE byte_value; ' ' start_byte = pos / 8; ' start_bit = pos % 8; ' start_bit = 7 - start_bit; ' ...Show All
Chernomor Strange smtpclient.send behavior
Hi, i am triyng to send some E-Mails from my application. When i was using it in 1.1 the E-Mails would go instantly after calling the .send(MyMail) but under 2.0 the E-mails dont go until the application has closes.... any one know why this would happen Do i have to set the SMTPClient class to nothing befor it will send the E-Mails etc Im finding this a little strange ------------- Code for sending the E-Mail ----------------------- Function ...Show All
OpticalMan Trying to edit and continue locks up the IDE
Whenever I try to edit a program when it is running, it gives me the option to stop and unwind so I can do edits. There are a couple other options also. But it locks up and I have to kill it. I know I am probably going about editing the wrong way but the fact remains that it should not lock up the IDE and force me to kill the process and it should not allow me to try to edit either. I guess you are using Whidb ...Show All
karande23 How to halt a program???
Let say i have two program called program A and program B, i run program A, but inside program A, i use [call shell(C:\....\programB.exe)] at the 2nd line of my codes in program A, how do i stop program A at 2nd line, until i finished running program B then only continue execute the rest of the code from 2nd line in program A Please help, if you dun understand wat im saying above, u can ask ...thanks a lot!!! You can use Process ...Show All
Different Name Share Access Database
Hi m using a visual basic 2005 express to design a user interface on a Microsoft Access Database. I in a network and I put my access database on a shared folder. still I get an error message Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. when it try to use my application after saving it on a different account on the same server. ...Show All
Roberto Juc&#225; Opening a text file externally
Hi, This is a simple question. I wrote a text editor specifically designed for the use of some data files i use. Now what i want to do is open the data file extenrnally from the windows explorer into my program. I will assign the extension to the software manually and on a later stage do it in a registry command. At the moment when i open the file (which is a text file, with a .DAT extension) in my program nothing happens. The program open ...Show All
Mel MacMahon MDI Forms
I have a problem. I load MDI child forms from the parent form, but when the child form loads I get objects from the parent form being displayed on the child form (Grid Box with command buttons). Does anyone have any idea how to stop this behaviour Thanks. Here is the startup code (form load) for the child form; lblDate.Text = CStr (Today) DeptName() BuildingSelect = BuildingSelect + 1 ' Set to ensure ...Show All
Fredley Need help with loading a form.
Hi all, I'm new to VB and need some help im trying to get a form to load after a login box below is the code im using so far. Also is there any way i could get the login box to check a database for the usernames and passwords before alowing login If Usrname.Text = ( "greg" ) And Password.Text = ( "password" ) And Domain.Text = ( "United Kingdom" ) Then Im not sure what goes on the end of then. ...Show All
BZanten No text in MSGBOX
The MSGBOX function presents a result that has no visible text in either the prompt or on the buttons. Is there some property that turns this off I wrote a simple test code and it fails on my machine by displaying a box without any visible text. It has just a button to force up a msgbox. Any suggestions Public Class Form1 Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " Public Sub New () MyBa ...Show All
