-
- Visual Studio
by Uli Hofer
- 9 Replies
- Last post
by ahmedilyas
- How do you run a .exe file from within a Visual Basic 2005 program
I am working on a form that should run one of several Setup.exe files (Not in VB.NET)depending on a choice the user makes.
Thanks for your help
-
- multi-threaded applications
by DotNetDahlya
- 4 Replies
- Last post
by DotNetDahlya
- Can anyone here please give me an example of how to code multi-threaded applications
Thanks
Chris
-
- Removing characters from textbox.
by HitmanPL
- 6 Replies
- Last post
by HitmanPL
- I want to randomly choose and number from a text box, and after it has been chosen I want it removed. I has this so far. It isn't working though.
Code Snippet
Randomize()
Dim userinput As String () = TextBox1.Text.Split( New Char () { "," })
Dim randomnumber As New Random
Dim chosenuserinput = randomnumber.Next(0, userinput.Length)
'Dim positi
-
- Run-time error 339: Component 'MSCOMM32.OCX' or one of its dependencies not correctly registerd: a file is missing or invali
by Paula573618
- 14 Replies
- Last post
by »Rappin P» »Is
- I get this message when I boot up a Windows XP computer, any ideas why
-
- Cannot access a disposed object
by Khin
- 14 Replies
- Last post
by Anjan Gaan
- i found an error - cannot access a disposed object in my project.
i using vs2005.
but before this, i using vs2003 and this error doesn't occur.
but when i convert to vs2005 and debug, this error occured.
any one know what this happen
please advice..........
Thanks 1st
-
- Email Method does not Send
by Tryin2Bgood
- 1 Replies
- Last post
by Tryin2Bgood
- I have this email method that gets a file name to an attachment that it should send the problem is that my e-mail never arrives when i do testing is there an issue with the code, is there some way i need to add the username and password for the e mail address that I have set up as who its from check out my code
Public Sub EmailHomeFile( ByVal fileName As String ) Dim
-
- how to get the selected button in outlook
by sridhar_msd
- 1 Replies
- Last post
by Bruno Yu - MSFT
- hi,
I have a module in that i need to access the Micosoft Outlook through vb.net and get the selected button (Mail,Calendar,Contacts,Task). I need to get the selected/ active button using vb.net.
please help me on this
Thanks in advance
sridhar
-
- ByRef parameters in Events does not work
by Underdown
- 4 Replies
- Last post
by Toddap_MS
- HI
I am using the Interop Forms Toolkit. I have developed a form and I want to raise an event from VB.NET to unmanaged code. The event is declared as
Code Snippet
<InteropFormEvent()> _
Public Event ButtonEvent As ButtonEventHandler
Public Delegate Sub ButtonEventHandler( ByVal but As Integer , ByRef handled As Boolean )
How
-
- disappearing listmembers dropdown
by jernejG
- 7 Replies
- Last post
by jernejG
- Hi,
I am experiencing a really anoying problem with visual studio .NET 2005 IDE (all project types).
After pressing ctrl+j or at any time when the listmembers dropdown menu is suposed to show when writing code, it shows itself but only for a second or even less and then disappears leaving me not enough time to select any element.
Thanks for your help!
-
- How to calculate the number of pages in a perticular TIF Image Pages ?
by suis
- 1 Replies
- Last post
by Riquel Dong ¨C MSFT
- Hi Everybody , How to calculate number of pages in a perticular TIF Image Pages Eg : i have a 001.TIF Image which contain a 14 pages ! now my problem is i need to calculate how many pages in a perticular TIF image and calculate dimention of each image ! How do i do this task or any good articles about this or what is the best Class to do this work Still i am reasearching this topic !
regards
-
- Unmanaged Webbrowser Control and System.Windows.Forms.Contextmenu?
by S_A_S
- 5 Replies
- Last post
by S_A_S
- Is it posible to replace the Contextmenue of the unmanaged Webbrowser Contol with an System System.Windows.Forms.Contextmenu Just executing Me .WebBrowser.ContextMenuStrip = Me .cmsBrowser
does not bring any success.
Thanks
-
- Compare Textbox Contents With Data In SQL
by Mark-Webber
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hi all, I am new to the whole Visual Studio thing and am having trouble trying to figure out how to compare a string entered from an input box on a web page with data stored in an Sql DB.
Pretty much what I need to acomplish is a search and compare and if they match display all matching records, or throw up an error message if no matching record is found.
I am using the "Persona
-
- Updating a flashscreen at runtime
by Dan Mikkelsen
- 6 Replies
- Last post
by ahmedilyas
- This cant seem to be done easy beacause of some chross thread exceptions. Ive only found a few examples in the forums and i dont understand them... (something with invoke and delegates)
I would like the splashscreen to say what is going on, because my app have a lot of database calls.
If i have a form called form1 that is the main form, and a splashscreen called splashscreen1 with
-
- array of controls..
by zybernau
- 11 Replies
- Last post
by BloodyRain
- is it possible to create array of controls in UI.. i need to create array of buttons (as similar to VB6) is there any way to do this
-
- How to disable the "X" windows control
by busyme
- 3 Replies
- Last post
by nobugz
- Hi,
How can I disable the "X" windows control on top of my form without disabling the minimize button
If I set the ControlBox to False, that will remove all the windows control button altogether, but I would
still like to give the users the ability to minimize their forms.
Thanks
-
- Why Does my Add Record not Save--See Code Inside
by ACCOUNTINGONLINE.US
- 6 Replies
- Last post
by ACCOUNTINGONLINE.US
- Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me .ClienteTableAdapter.Update( Me .BaseDeDatosPenaDataSet.Cliente)
Me .BaseDeDatosPenaDataSet.AcceptChanges()
Me .Update()
'Error is::::Update requires a valid DeleteCommand when passed DataRow collection with deleted rows.
'Error is ::::Update requi
-
- Windows Service Monitoring Problem On Vista
by Samer Selo
- 8 Replies
- Last post
by Samer Selo
- I've built a small utility to monitor the status of SQL Server Express and start/stop it and it works nicely on Windows XP SP2 and fuctioning great but when I've tested it on windows vista it monitors the service ok but I can't start/stop the service any more unless I use the Run as administrator command to start my tool
I've used the folowing code to test my rights on windows
My .User.IsIn
-
- How to GET ENUM NAMES?
by Antinsh
- 3 Replies
- Last post
by Antinsh
- Hi
I'm trying to make a function that would return array of names of certain enumerator. This is how far I am:
Private Function getEnumNames( ByVal enumerators As System.Type ) As String ()
Const ProcName As String = " getEnumNames "
Try
Dim strAll([Enum].GetNames( GetType (enumerators)).Length) As String
Dim i As Integer
-
- How to remove properties from a user control using Inheritance
by Troy Lundin
- 6 Replies
- Last post
by nogChoco
- I have created a simple Numeric Textbox control by Inheriting the System.Windows.Forms.TextBox control.
I added four extra properties to make it truly numeric only. I was wondering If I could remove properties that I know I won't need. Such as the Image based properties.
Thanks, Troy.
-
- The project location is not fully trusted by the .NET runtime error when loading webservice on localhost
by Saurabh_Mathur
- 3 Replies
- Last post
by Bruno Yu - MSFT
- Hi all, I am getting the above error when i copied a webservice from an external location, pasted it to my local machine and made a new virtual directory pointing it to my computer itself. Then, when it is loaded in the solution which also contains some other windows app projects, it comes up with this error. So, I removed the project, added it again as an Existing Project From the Web, and with a
-
- MODI Save As popup problem
by Murlin
- 1 Replies
- Last post
by robinjam
- I have an applicaiton that I wrote that converts PDFs into TIFFS using the MODI driver and it works fine except for one part. Once I use Adobe to print out the PDF to the (MODI) driver, I get a "Save As" popup. The name of the file is correct and all I need to do is to click save. Problem is that I do not want the "Save As" to appear at all. Is there a way to prevent this wind
-
- Automatic Table Creation problem
by ProjectNoRocks
- 2 Replies
- Last post
by ProjectNoRocks
- Hi,
I am trying to dynamically create tables using the code at run time, but somehow it fails and gives me an error. I have probably tried 3 different ways of creating the table and have failed so far. Following you can see the approach that I am taking and the error associated with it. Please help me. I am using Access as the database.
Private Sub CreateSecurityTable(ByVal CMD As ClassMarke
-
- Web Browser Contol Issue
by Driv3r912
- 4 Replies
- Last post
by Driv3r912
- Hey everyone, I have an MDI Contol and two forms (for example).
Form1: Main Multiple Document Interface form
Form2: Web Browser Control
Lets say that when the user clicks on a link that would display a new browser window, it opens up an Internet Explorer window, when simply, I want it to open in another Form2 (it's an MDI Control).
Can anyone help me out with this and provi
-
- How to deploy Prower packs printing objects
by BLIS
- 2 Replies
- Last post
by BLIS
- I have a project that i have compailed.
When i install this on the server some powre pack printing files are missing in the GAC forlder.
How do i add these files to the GAC
-
- Problem with Printer compatibility library Power pack
by Bernardo Salazar
- 3 Replies
- Last post
by Bernardo Salazar
- Hi everybody...
I have installed a generic/text only printer under winxp (the same problem occurs with generic drive under win98, on epson tm200d pos printer). when i try to print using this code:
imports microsoft.visualbasic.powerpacks.printing.compatibility.VB6
..
..
Dim prn as New Printer
prn.Print("Line 1")
prn.Print("Line 2")
prn.Print("Line 3