VB 2010 Put A Dll Inside Program And Use It?
Dec 19, 2011
I was just wondering if it is possible to put a dll file into the resources and use it as a import on that same program? So that I wouldn't need all my users to have both the dll and the .exe. since they would be combined into one.
View 20 Replies
ADVERTISEMENT
Sep 20, 2010
I am wanting to simply insert a sound/music file into my program, and perhaps make a button function to make it play?
View 5 Replies
Jan 30, 2011
Basically, I am looking to create a program with the CMD (command prompt) window inside of it.Along with a drop-down list, containing a few pre-made codes.For example;Is the easiest way to kinda accurately show what i'm attempting.Cross-thread operation not valid: Control 'txtResults' accessed from a thread other than the thread it was created on.
View 2 Replies
Aug 15, 2010
i was wonder how cool it would be to have a program that running anthor programin this programin i cant reallly explain it welll so look at my text art [code]srry text art is hard when there not exastly the same size...so what it does is run an external program inside the program 1
View 9 Replies
Dec 13, 2009
How I can run an application from inside the vb ?
View 2 Replies
Jan 20, 2012
Lets say I have a basic application with only one text Box inside the application.I need to know how I can edit that text box remotely via a simple XML file on a server so the end users will be able to see the edited texts in th etext box inside of application?
View 5 Replies
Jun 29, 2009
I want to make a program with a button and a textbox. When i click the button the program (don't know how) writes the text from the textbox in a process called test.exe. Test.exe is a cmd like window, there is only one place to write on it. How can i make it happen?
View 4 Replies
Dec 7, 2010
How run a program inside a MdiParent?
View 5 Replies
Oct 11, 2009
What I'm wanting to do is gonna sound pretty strange. I play a game called Wonderland Online. Usually while playing, I will have between 3-4 instances of the game going at the same time, each instance running a different character. Also, I will have open another program that I wrote that helps me figure out what I need to manufacture a certain item in the game. The running game is an 800x600 window, and I have all 5 of these windows open at once, where I am constantly moving things around, minimizing and maximizing.I want to create a app that would basically be a frame for the game. Creating the frame would not be hard, but this is the first time I have tried to get an external EXE to basically run inside of my program. Is this even possible? And if so, I would imagine I could run multiple EXEs and flip between them inside my frame. I could integrate my manufacturing program into the frame, as well as control which instance of the game is visible inside the frame.
View 1 Replies
Oct 1, 2011
I am not really sure how to ask this question. I have been teaching myself vb for about 3 months. The book I am using is pretty good about explaining things and what I can't figure out I can find different examples on the web. I can't find out how to access windows control panels from my app. For example if I type firewall.cpl at the run line it will launch the windows firewall.
View 1 Replies
Feb 3, 2009
I remember long time ago (though I have not done it for eons by now), that I can embed MS Notepad into a program of mine in VB6. I am now programming using VB2005, and I have a need of a simple drawing tool inside my program. I am wondering if I can embed MS Paint into a VB2005 program?
View 3 Replies
Jan 29, 2010
Is it possible to put a "3rd party program" (an already compiled EXE thats added as a resource), into a MDI Parent form?
View 2 Replies
Apr 18, 2011
I would like to create an application that can browse the DLL file and use the codes inside it. Not by adding it as a reference, or something. Just browsing the DLL file to use the codes inside it.
View 7 Replies
Nov 11, 2009
Can you add values inside textboxes that are located in tables in Visual Basic 2008?
I put a TableLayoutPanel on a form and inside the Table I put textboxes. Outside the table there is a button. The whole point of the program is so that the user inputs numerical values inside the textboxes and then hits the button and the answer comes out in another textbox. But its not working. It worked when I didn't put my textboxes inside the TableLayoutPanel.[code]...
View 7 Replies
Aug 21, 2010
I'm trying to write a program that detects the contents inside a textbox, and if empty displays a warning, and does not input anything into a rich text box. However, if something is detected, it would not display the warning and input the textbox's text into the rtb.
I got everything else, just need help with the textbox detection code.
View 3 Replies
Jul 9, 2009
May i know how to insert a AT command method inside my program to receive incoming sms?
My program is in visual basic windows form 2005.
Here is how my program goes.
After i click connect button in my application, the gsm modem will automatically read the incoming sms and display in the textbox on the program.
I already have the list of AT commands to be used, they are :
1. AT
2.AT+CMGF=1
3.AT+CMGL="ALL"
I also would like to know how to declare these commands as string inside the program.
Here is my program so far:
CODE;
This code is for the user to click on connect button which will connect to the serial port. So after connecting the modem will then auto read and display new incoming sms.
View 2 Replies
Feb 14, 2009
I'm looking for a solution for making the program response to the enter/return key inside a textbox. After browsing the forum I end up with this
Private Sub TextBox1_KeyPress(ByVal Keyasii As Integer)
If Keyasii = 13 Then
Label1.Text = TextBox1.Text
End If
End Sub
As this seems to be the answer to the problem, I still can't make it work. I just get a 'beep' and nothing happens.
View 2 Replies
Jan 18, 2011
Is it possible to use a DLL inside of another DLL?
View 2 Replies
Oct 19, 2010
I have a program that is running with a Data Connection to Database MS Access Office 2007. I maxed the Database at 1.97 GBytes of memory. I then inserted the Database into my VBasic Program and tried to compile. The compiler gave an error at the Me.ChemicalsTableAdapter.Fill(Me.Chemistry2aDataSet.Chemicals)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.ChemicalsTableAdapter.Fill(Me.Chemistry2aDataSet.Chemicals)
radPrefix.Checked = True
[code]....
View 14 Replies
Jan 21, 2010
I am in process of writing a setup program that will reside in a USB stick.After inserting the Stick the VB2008E program starts (dont know how) and guides the technician to do certain tasks. As a part of this She/He needs to run a Setup.exe that resides in the same USB stick.
1- How do I define the drive letter of this USB stick.
2- How do I run the x:Setup.exe program without exiting the VB2008? The install process should begin after click of a button.
3- Would Autorun work on USB drives to run the program automaticaly?
4- How do I compile to make a single EXE file at the end?
View 1 Replies
Mar 29, 2010
I am teaching myself VB, and when I try to run this program, I am getting "An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object." If I was to declare the variables inside each event handler, the program runs, but why won't it run when I make the scope public? Seems repititous having to declare the variables in every event handler. [code]
View 7 Replies
Jan 17, 2011
How to make this 1 Button : when its pressed to run this
@echo off
:end
GameServer.exe 127.0.0.1 55970 127.0.0.1 55960 55901
echo .
[code]....
But to has .ini file that they can change this things (thats are in red)When they change it, then when its pressed the button to open the file with the perifrences that are added in the ini any ideas ?
View 7 Replies
May 5, 2012
is it possible by 1 program to save settings to another program without running the program that is being edited?
View 6 Replies
Feb 3, 2011
I have this
Dim regex As Regex = New Regex("[0-9]")
If myString = "Hello[" + regex + "]" Then
How do I use a regex inside this string?
View 5 Replies
Apr 23, 2012
For my own basic understanding ... what is the difference between these two snippets?
Dim y As Integer
For x As Integer = 1 To 100
y = x
[code].....
View 3 Replies
Apr 11, 2011
I have a Tabcontrol, and when the program loads it adds a tab. Inside this tab goes a panel (url, back, etc buttons to be added to it) and a webbrowser control.Problem is the panel docks to the top and when you fill the webrowser control the webbrowser goes behind the panel and not under it so the top is cut off.[code]Or anyone know how to remove the tabcontrol from the tabpages so theres a gap in-between to input this panel.
View 4 Replies
Jan 13, 2011
I would like a method that opens a form which has a textbox. The user then types into the text ox and click the button "OK". The method then performs an action on the userinput before returning the manipulated value to the program.
View 1 Replies
Sep 4, 2011
I'm making a Singlish-English Word Prosessor.When user typing in a active window's TextBox those letters were automatically converted to the Sinhala language.I did that hard part with sendKeys() Function.But Now I want to set my application windows's location at Active Window's Blinking cursor(Caret) position.So It will easy to user with English-Sinhala Translation thing.
View 1 Replies
May 14, 2011
I have a tab control in my form and inside it I put a listview. What I wanted to do is populate the listview everytime I clicked on each tab. But I don't know how to do it.
Here is the bit of my code
Public Class Form2
Private Sub PopulateRecords()
Dim TSR As New ADODB.Recordset
Dim STRSQL As String = ""
[code]....
View 2 Replies
Dec 3, 2010
I am trying to make a timer, inside of a class, tick, by calling it from a backgroundworker. It never ticks (the Tick event is never raised), but the Timer shows as Enabled (with Interval set to 1).
Here is the simplified
Class1.vb
vb.net
Public Class Class1
[Code]....
If I move the code inside the Thread1_DoWork procedure into the Button1_Click procedure, the code works fine (by bypassing the backgroundworker). But, when it is called inside of the backgroundworker, it doesn't work at all.
View 3 Replies