-
- I deleted the "community" and "help" menus and want them back...
by Nate879
- 2 Replies
- Last post
by Seju
- While customizing the toolbars and menus, I accidentally deleted the "community" and "help" menus. How do I get them back
-
- Creat Thumbnail, and View Image on Click
by MLyons10
- 3 Replies
- Last post
by ahmedilyas
- I would like to create a button or other object that would create a thumbnail of the image it represents. When someone clicks on it, I would like the larger image to display in a PictureBox on my form. I would appreciate any help anyone can give me, as I have not been able to get any of this to work... Thanks,
-
- Counting Mouse clicks?
by x868
- 11 Replies
- Last post
by x868
- How can I count mouse clicks in VB.net The purpose is to select an entire sentence with triple clicks. ( Windows by default selects a word on double clicking )
-
- Paint Program Problem
by paoloTheCool
- 12 Replies
- Last post
by jerkyg
- I have a slight problem with the paint program i am creating -- i can now have lines drawn, and the background filled, with all the standard colors of MS Paint, but when ever the user minimizes the program, and reloads it erases everything :(
thanks,
paoloTheCool
-
- timers and variables
by molbio1
- 7 Replies
- Last post
by rauhanlinnake
- Hi ev1- my first post here so please go easy: ) I have experience writing C++ console applications but am new to C# and Visual Studio an am finding event handlers difficult to get a grasp on.
I am working on a program that uses an API to make calls to a server for equity prices and to execute trades. I have that part working fine if I do it manually, but what I need to do is use a timer to
-
- Random number and loop problem
by Anonymousss12345
- 6 Replies
- Last post
by spotty
- For some reason two of the weeks will usually be the same. Can you tell me why.Heres the code.
Public Class Form1
Private strTeamArray(30) As String
Private Sub Button1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles Button1.Click
rtbschedule.Visible = True
Dim strtext(8) As String
Randomize()
For x As Integer
-
- Adding a .exe file to my project
by brad0999
- 3 Replies
- Last post
by ReneeC
- I need to add an already existing .exe file to my project. This is a standalone .exe file. All I want is to have it open when I click a button. I have added it to my project by going to add -> existing item -> and then the file. It shows up in my solution explorer but I don't know what code to type in my form to get it to run. Thanks.
-
- Unicode into Byte or Byte Array
by Juanton
- 3 Replies
- Last post
by Juanton
- I have created a custom data structure for a project I am working on and would like it to accept Unicode characters, but currently it only accepts ASCII characters. The problem lies in the way that I write the data to a file. I use the WriteAllBytes command which means all of the data must be converted to a Byte array before it can be output. It woks great for ASCII characters, but causes an overf
-
- Choose Listbox item by Rightclick
by monurce
- 1 Replies
- Last post
by Dave299
- I added pop-up menu to Listbox... I want to choose any Listbox item when I click right on it... Something not in way... Now, I choose an item by Leftclick, and if I dont left click, it's not choosed, so, I can't use the pop-up.. How can I choose item by Rightclick, and at the same time show pop-up
-
- How future proof is __int64 type
by L M
- 3 Replies
- Last post
by Jonathan Caves - MSFT
- I am refreshing my programming skills with a small app. I need __int64 variables for large files. And then I started to think about 64 bit cpus and compilers. What happens to these kinds of variables with 64bit compilers Will there ever be a 64 bit Visual studio, or is there already Is there an express version Are long variables just longer And so on. Regards Leif
-
- SetCursorPos not working as intended.
by de2
- 5 Replies
- Last post
by Bite Qiu - MSFT
- Hey Everyone. I want to use SetCursorPos to move the mouse back to the center of the screen if it hits any screen edges. I want to do this to guarantee mouse relative movements can always be measured. I have the following code to accomplish this: //variables that represents window's pointer location POINT winmousepos ; BOOL rc ; ClipCursor ( NULL ) ; //get window's mouse cursor position rc =
-
- displaying the value of a particular database field
by Reid Williams
- 5 Replies
- Last post
by Reid Williams
- First let me say that, as you might guess, I do not have much experience with Visual Basic.
I have a database with 50 records (rows) and 35 fields (columns). My program calculates a value from a bunch of other input information and based on that value the correct field name is assigned to a variable. The records are bound to and listed in a combobox (that part works fine). When I select one of
-
- Visual Studio 2005 - ASP.NET - Creating tables - IRRITATING FEATURE
by idiotech
- 1 Replies
- Last post
by ReneeC
- Why, when I make any table in Visual Studio, does it make every cell 100px width for example, if a choose to make a table with two rows and two columns (no specified width), it creates this:
<table > < tr > < td style ="width: 100px"> </ td > < td style ="width: 100px"> </ td > </ tr >
< tr > < td style =&qu
-
- Saving Files
by Tevatron
- 6 Replies
- Last post
by paoloTheCool
- Hello, I have a webbrowser control on my form and a button which saves the displayed page on click. It is very simple:
Code Block
private void button2_Click(object sender, EventArgs e) { webBrowser1.ShowSaveAsDialog(); } The problem is that the default format of the file is .mht and I want it to be .html and to have only three options for file formats: HTML, TXT and
-
- How to check computer performance?
by yanivpinhas
- 7 Replies
- Last post
by LogLivePlinko
- Hi,
My program do a lot of things and work slow, I want to tell the user if the performance of his computer are good or bad.
I tried to do loop and to check the time that goes by, but I saw that the time is changing in the same computer
everytime that I run my program, and if I compare the time with two computer (one P4 1.7 the other Dual core 2.4)
sometime I get the same tim
-
- Read/Write to SQL database, Beginner Question
by crazyish1
- 6 Replies
- Last post
by crazyish1
- How do I read and write to a specific cell in an SQL database using VB Express Most examples that I have found drag & drop the details of a table from the database onto a form and edit the database by typing in the form and saving the changes. This is not what I want to do.
With code:
I would like to be able to read a value from a specific cell in a table to a variable.
-
- Excel Spreadsheet
by Buddy Funny
- 3 Replies
- Last post
by js06
- Hello All!
I was just wondering, is there a way that I can make a program, that is basically a excel spreadsheet in the main form, Im making a grade book and want to make it a program instead of just an excel template. Any suggestions Thanks
-
- image converter
by nate-d-o-double-g
- 3 Replies
- Last post
by JohnWein
- Roughly, what code do I need to make a simple image converter, say, from .jpg to .bmp I was thinking maybe looping through the images in a folder and converting it to the type... but how would i do that Just for your opinion on the code you would use. Code please (if you can).
-
- Hello Everyone!!!
by jagu_rita
- 5 Replies
- Last post
by jagu_rita
- Hello Everbody,
I am new to this Forum.Hope everyone doing good.I need Your help.Please Experienced person have a look at my Thread and give some advice to improve my programming skill .
Just now i have started to learn C#.Actullay i am very weak in Programming.But Hardly i need job now.Am ready to do hardwork.
When i read the basic concepts in C#, I couldnt understand well.And i
-
- serious question about decompile any .net software with full source code :( Help Microsoft :(
by WaQas Lal
- 1 Replies
- Last post
by jo0ls
- is there anyone tell me any seucre language i make a software in VB.Net and start to sale it but .. after few days .. some one crack it ..and also ..not only crack .. he send me full source code .. when i contact him and ask him that how he do that .. he ask me that no need any other software to decompile download - Microsoft .NET 2.0 SDK http://download.microsoft.com/download/c/4/b/c4b15d7
-
- Visual Studio Express starts multiple instances of msvsmon when building.
by SimonStevens
- 4 Replies
- Last post
by SimonStevens
- Hi, Every time I run or build a project from Visual Studio Express (c#) it starts about 20 instances of msvsmon (the remote debug monitor) in the background. They aren't visible on screen, only through task manager. They remain running for about 20-30 seconds (even if the build only took a second or two), then all close. Is this normal behaviour What are they doing How do I stop them from running
-
- creating 64 bit DLL For AMD64 using VC+ 2005
by Toadie
- 4 Replies
- Last post
by Toadie
- Using VC++ 2005 express edition installed on a 32 bit machine, is it possible to create/build a 64 bit DLL (for AMD 64/EMT 64)
Thanks in advance
-
- how can i make a file explorer that displays drive the directory and the file
by sankramellow
- 1 Replies
- Last post
by Martin Xie - MSFT
- how can i make a file explorer that displays drive e.g shows c drive and d drive etc and shows the files and folders and the option to open them
-
- Populating a Dataset from an SQL Database
by Captain Baz
- 13 Replies
- Last post
by Trucker
- I am using VB 2005 Express Edition!
Also - this is my first attempty at accessing an SQL database, so I acknowledge that I have probably done something very silly but at this stage I am stumped and need some help.
As a reference on how to do this, I used KB Article 301216.
I have basically copied exactly what was shown in the article changing names to suit my requirements and have come up
-
- Why does C# Application loads slower?
by zerodevice
- 9 Replies
- Last post
by zerodevice
- Hi, I dont know how many of you has this problem, but what happened to me is the Applications code in C#, just a simple math calculation program will take some time to load/run the moment i double click on it. 1. Double click on the application (test.exe) on the desktop. 2. I waited for about 30 seconds to 1 minute. 3. A visual display of the program then shows/appeared. However, icons and images