-
- still on calculator
by tutiworks
- 11 Replies
- Last post
by Deviation
- i have made the interface for a calculator but whenever i press a number button it replaces what was previously on the display textbox. What do i do to make the whole sum or equation appear on the display textbox before i press the = sign and where exactly do i put the code for execution I am not used to this .net kind of programming enviroment but i am good in programming in vb 6.0 setting. Pleas
-
- What #include<file> is needed for using Console::Clear()?
by Rossel
- 3 Replies
- Last post
by cadouthat
- The Visual Studio 2005 MSDN Help Search doesn't explain the prerequisite #include<file> needed before the System namespace can be called, for example, in the case it were needed to execute the following statements:
using namespace System;
Console::Clear();
Does anyone know this Thanks.
-
- MessageBoxButtons.YesNo question
by hugas
- 4 Replies
- Last post
by SJWhiteley
- how to make, that when user choose Yes on messageboxbuttons, then event form i want would appear
-
- for dave299
by clint 2
- 2 Replies
- Last post
by clint 2
- Hi dave...and all
I am asking you this because I think you are a bit of an expert on regions and bounds...
I have a small picturebox displaying a selection of images....
I would like this picturebox to appear at random locations within the screen bounds.....and if possible
I would like the picturebox to randomly tilt left or right and straight .....like \ \ ....l l... / /
do
-
- Stupid Microsoft Access 2007 Question
by C&#35;Newbie01
- 4 Replies
- Last post
by C#Newbie01
- I just purchased Microsoft Access 2007, and it says that it uses its own JET Database Engine on the client machine, which isn't part of Windows. So, I would need to install the Access 2007 JET Database Engine on each machine as well to run my application Where do I find this I can't find anywhere to get it from (I searched both Access Help and the Microsoft site). Would this be free and would I
-
- Package load failures
by Banbury
- 2 Replies
- Last post
by Bite Qiu - MSFT
- I just installed Visual Studio C++ 2005 express edition on my new vista pc (I have it running fine on my XP machine), I get package load failures when I run the program, as you can see in these pics: Visual Studio Explorers and Designers Package http://img529.imageshack.us/img529/7572/help1bh5.jpg Visual Studio Common IDE package http://img504.imageshack.us/img504/6613/help2tp2.jpg How do I fix th
-
- RGB to Color conversion
by BadButBit
- 4 Replies
- Last post
by BadButBit
- hi,
I'm trying to hack my way around another problem by converting a variable of color type to three int32 variables R, G & B. from color to RGB is working but the refuse does not
R = color.R
G = color.G
B = color.B
this works fine but....
color.R = R
results in a Error 1 Property 'R' is 'ReadOnly'.
is there an
-
- Keep a Form on Top...Sometimes
by Juanton
- 3 Replies
- Last post
by bdbodger
- I have a two forms FormFront and FormBack. When the program starts, FormBack is loaded and not enabled while the smaller FormFront is displayed in front of FormBack as a sort of welcome screen. I want FormFront to always be in front of FormBack when it is displayed, but I don't want it to be in front of any other program if the user shoud switch to a different program (like what happens with the &
-
- js06 nid help (spreadsheet gear)
by pinoyz
- 14 Replies
- Last post
by js06
- hi there... i need ur help in spreadsheet gear.... how can i get the data from the datagridview to spreadsheet gear
i have here a sample program that i made but still got an error (nothing happens)
dim con as new oledbconnection(constring)
dim sqlcom oledbcommand(sqlstatement)
dim adapt as new oledbadapter(sqlcom)
dim ds as dataset()
dim dt as datatable()
sqlcom.connection.op
-
- split textbox.text into each character seperatly
by mustang29
- 9 Replies
- Last post
by mustang29
- I am new in Visual c# and I want to make een program that, when in have for example ABC in textbox and I click on an button, that in the second textbox came the A, in the third the B and in the fourth the C.
I have tryed already some things, but with no result.
Thanks already.
-
- picturebox draw everything?
by Cameron Kloot
- 6 Replies
- Last post
by nobugz
- hi, in my form i have a label with transparent as background with a picturebox behind it that has a streched image in it. the problem is that even though the label is transparent the picturebox doesnt draw the image behind the label, so there is only the control color of the form. how can i make the picturebox draw the image "under" a different object thanks
-
- A few problems.
by Snowfox2
- 1 Replies
- Last post
by Chris Dunaway
- Ok, i am wanting to do a few special things for my project. These being as follows: Being able to search a text field. Being able to make a field resizable (Text box and flash object) If i think of more, i will post more, thank you . I would like code: Dim txt As String Dim b() As Byte On Error GoTo E Command1.Enabled = False ' This opens the file specified in the URL text box b() = Inet1.OpenUR
-
- callbyname question
by CKeM
- 4 Replies
- Last post
by CKeM
- So I've looked up Callbyname and it seems to be the function I want but I have a question concerning it.
I have a bunch of string variables, we'll say (for example, in reality there would be more than three):
dim crunch as string = "Crispy food!"
dim bite as string = "Seperating the food!"
dim chew as string = "processing the food!"
And then
-
- Whats wrong with my SetWindowsHookEx statement?
by Traps
- 14 Replies
- Last post
by Traps
- I am trying to convert a mouse hook like this.........
Code Snippet
MouseHookProcedure = new HookProc(Form1.MouseHookProc); hHook = SetWindowsHookEx(WH_MOUSE, MouseHookProcedure, (IntPtr)0, AppDomain.GetCurrentThreadId());
To a low level mouse hook like this........
Code Snippet
MouseHookProcedure = new HookProc ( Form1 .LowLevelMouseProc)
-
- Creating a text file and writing data to it, then saving it on desktop
by Ramyy
- 8 Replies
- Last post
by Dave299
- Hi all
I am trying to create a notepad text file and write some data to it but it gives me an error saying:
The process cannot access the file because it is being used by another process
but i don't have anything else using this file, so don't know why it won't let me.
heres my code with comments
Code Snippet Private Sub File_Button_Click(ByVal sender As
-
- Load image in picturebox
by arunvjadhav
- 5 Replies
- Last post
by arunvjadhav
- i am trying to make one project in Vb to maint employee records with their photos
so i have made that table in database with the column for photo as image file but now after i run the program and load the image the image comes , alright but after a few seconds the program gives me a error that "external exception was unhandled" ; genericerror code in GDI+
please guide me how to get
-
- Download ISO cd image
by JoseG
- 2 Replies
- Last post
by entfe001
- Hi,
Its posible download the ISO cd image in another language (Spanish)
Thanks
Jose G
-
- loop help
by flo137
- 0 Replies
- Last post
by flo137
- I am trying to create a program that will take 2 series of numbers and do a formula. I have the number 1-39 across row 1 in excel and 1-39 along column 1. the formula is
For counter = 1 To 39
ActiveCell.Select
ActiveCell.FormulaR1C1 = "=(0.4*RC[-1])+(0.6*R c)" ActiveCell.Offset(0, 1).Range("A1").Select ActiveCell.FormulaR1C1 = "=(0.4*RC[-2])+(0.6*R C)&quo
-
- simple Help needed please
by noob_vber
- 4 Replies
- Last post
by noob_vber
- Where could i find the codes like (Chr34 & hello & Chr34)) would be "hello"
Also What would the code to be to make it say (hello) in a msgbox
-
- Running a program off a cd
by Nuguns
- 7 Replies
- Last post
by Tall Dude
- Hello everyone. I am currently working on a program that reads an access file and the creattes a report based on the contents of the file. Nothing too difficult. I have the program working, but my problem is i need to burn this program to a disc, and the code only allows for the file to be located at a specific path. Here is a small part of what what I have now:
Code Snippet
Dim conne
-
- Settings problem
by Cameron Kloot
- 14 Replies
- Last post
by Cameron Kloot
- hi, in my program i make settings and then load them into a checkedlistbox when the program restarts. this is what i am doing: public Form1() { InitializeComponent(); foreach (object loadItem in Settings.Default.Context) { checkedListBox1.Items.Add(loadItem); //Load settings } } Settings.Default.Context.Add(textBox1.Text, textBox2.Text); //new settings stri
-
- VB equivelant of VB script
by EverydayHack
- 4 Replies
- Last post
by EverydayHack
- Just wondering if the following code has an equivelant in VB Express.
Code Snippet fCheckExchange Function fCheckExchange() Dim oSocket, iErr, sSocketText sSocketText = "" Set oSocket = CreateObject("Socket.TCP") oSocket.DoTelnetEmulation = True oSocket.TelnetEmulation = "TTY" oSocket.Host = "trinity:25" On Error Resume Next oSocket.Open iErr
-
- RichTextBox Html
by programmer01
- 9 Replies
- Last post
by programmer01
- Hello,
I am trying to make it so that if you select a certain option out of 3 options then the RichTextbox will change...or somthing like a RichTextBox here is what I am unsure about. This will be an Html editor, so there are 3 buttons:
- Code
- Split
- View
Code, of corse, will show the HTML code of the current Html page you are editing. Split will split the Code and View so yo
-
- How to Create a Stopwatch-like timer
by LzBy1
- 2 Replies
- Last post
by nobugz
- I'm stuck on some code right now trying to create a stop watch like timer. I want to display the elapsed time in a lable from the time the timer starts. I can get the time to update the lable.text on the timer_tick however I don't know how to show elapsed time. I admit I'm new and the solution should be rather simple, however I can't seem to solve this problem. Please help. Thank you.
-
- compiling a .cpp file
by GuyHosting
- 2 Replies
- Last post
by SvenC
- I have no problem with compiling my own projects, butsometimes I download a .cpp file from the internet and want to compile it and I can't seem to find a way to use visual c++ to compile the .cpp file. Does anyone know how to make the compiler compile a .cpp file.
thanks for any help