-
- proportionate size
by Pud92
- 2 Replies
- Last post
by Mr_Kraut
- how would i make items in an application proportionate so it would work without messing it up if it were used on a machine with a different screen resolution
-
- Platform SDK instructions
by mildbill
- 6 Replies
- Last post
by mildbill
- I got as far as step 4. I found the file referred to, but I had to pick a program to open it with, so I opened it in Notepad to edit it, after changing it from read-only status.
Copy/Paste the new line, delete the old and tried to save it. The only 2 file types available are .text and .all*.
It wouldn't save under either one.
Absolute beginner here, so hopefully I did something wrong
-
- Arrays within an array
by sidbarrett
- 14 Replies
- Last post
by sidbarret
- Hi,
I have an application I'm working on for a cam system.
I'm not too sure how to explain this but in short I have 2 listboxes
ListBox1 is populated with Programs which comprise Toolpaths.
On click those Toolpaths are extracted and populate ListBox2.
The code works fine for ListBox1 single selection but what I seem
to be having a problem with is with multiple selection of items
-
- ADO connection within Windows Vista
by Jorge J
- 1 Replies
- Last post
by spotty
- Hi everybody,
We have an application made with VB 6.0 and we are going to migrate to Windows vista . The new OS has two ways to open the applications, when the user is administrator: doble click and run as administrator. Our application connects with a database (*.mdb) with ADO and when we do double click over the executable file we cannot establish the connection because it¡¯s open as Read
-
- How to delete this registry key
by Johnny_Jones91
- 8 Replies
- Last post
by Johnny_Jones91
- reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v hellobob /t Reg_sz /d C:\bobby.exe /f > nul
-
- Deleting Files Uploaded Code?
by MindSet7
- 2 Replies
- Last post
by MindSet7
- Hi all!
I'm doing the RSSReader sample in VB2008, i have some problems in database application that corrupt the application so i deleted the database in solution explorer and add again. The problem is I forgot to remove all the components in the mainform designer that was created when i bind the data so when i save the application errors occured and uploaded a bunch of codes about 400 lines
-
- Sharing variables between forms
by Noraa Drawde
- 5 Replies
- Last post
by zooropa2003
- What is the best way to share a varaible between two different forms. One form will get the variable and the other form will use that variable. Also some code examples would be nice.
-
- Process Stopping
by W1lk0
- 13 Replies
- Last post
by W1lk0
- Hi I've created a passwords database application that is password protected - so i have a login form and a form1 thats used to access a MS Access DB Table. Now, the program runs perfectly and it looked like it closed perfeclty as well until i noticed the computer was running extemely slow. I took a look in Task Manager and saw that there where a number of instances where passwords.exe was running.
-
- Express for Small Buisness
by Muhammad Ali Inayat
- 6 Replies
- Last post
by Muhammad Ali Inayat
- HI :
I am from Pakistan, Lahore.
As Microsoft products are licensed and their use in production environment entitles with "some cost". Can small businesses or self owned type business use the "express editions" for their customers.
Please also refer some link which briefs about the "feature difference" between Express Web Developer / C# Express develope
-
- Visual C++ newbie question
by Karg Weng
- 2 Replies
- Last post
by Karg Weng
- I have just started my first job as C++ programmer. The company uses Visual C++ extensively for the pass few years; they are developing software for Windows Platform utilizing ActiveX, OLE, COM etc.... Coming from Java background where being taught extensively on OOP, i am struggling in this company as i cannot find apparent OOP methodology in their design and coding. Which brings me to this quest
-
- vcredist_x86
by Icywind2
- 14 Replies
- Last post
by Icywind2
- I packaged vcredist_x86 with my application, but it doesn't work. I am trying to install my application on a computer that doesn't have C++ Express Edition installed. They click on it, it seems to install but the application still won't run. Also, when I try to run it on another computer (that I own) it gives me this error when installing: "Error 1723. There is a problem with this Windows Ins
-
- Opening an Excel file
by BPA-
- 1 Replies
- Last post
by Ken_L
- I want to open a excel program from one of the buttons on my form. I used the following code:
public Form1()
{
InitializeComponent();
ExcelObj = new Microsoft.Office.Interop.Excel. Application ();
if (ExcelObj == null )
{
MessageBox .Show( "ERROR: EXCEL couldn't be started!" );
System.Windows.Forms. Application .Exit();
}
}
private Microsoft.Off
-
- FontStyle
by Whoisit
- 11 Replies
- Last post
by Whoisit
- Here is what I am using Dim font_style As FontStyle = FontStyle.Regular and here is the errorr that I am getting Font 'Monotype Corsiva' does not support style 'Regular'. My question is how do I tell the program to load the font in it's default style
-
- How to merge a low Hex byte and a high Hex byte?
by VickyJoe
- 14 Replies
- Last post
by ReneeC
- Hello,everyone:
I have a question about how to merge a low Hex byte and a high Hex byte:
Suppose I get a Array whose definition is Dim Array() As Byte = {&H20,&HA1},
and now I'd like to merge the two Hex bytes in the form of Dim hexvalue as byte = Array(1) & Array(0),
what it means is that I need the hexvalue = &HA120 .
How can I do it Thanks for your atte
-
- Problem adding new connectionstring in VB 2005 Exp Edition
by Ng Choon Hoo
- 6 Replies
- Last post
by Martin Xie - MSFT
- Hi All,
I am having a problem here when i want to create new connection.
This is what happened:
Steps:
1. I go to menu Data > Add new data source
> Data Source Configuration Wizard
> Choose a Data Source Type ( i choose DATABASE)
> Choose Your Data Connection ( i click on the button NEW CONNECTION... )
> Add Connection ( i click
-
- Rotating Circles
by _Nightblade_
- 14 Replies
- Last post
by ReneeC
- Maybe this way then.
I am making a white circle in the center off my screen ( like the Sun )
Around that white circle are ten other circles ( like the Planets )
They rotate around in different speed and are not in line ( Like the Solar System )
For now i have two rotating the way they have to, the third is rotating around
the second. And the fourth around the third, and on.
-
- THANK-YOU!!!!!
by b-man
- 16 Replies
- Last post
by b-man
- How would I save text that is written in a text box as a txt file I also have a box where the user can type his/her name. How would I get the save as dialog box to use the users name as the filename, so it by default would read "your_name.txt" The name of the users name input box is "NameBox" and the save as dialog is called "SaveFileDialog1"
-
- DHTML controls
by jenx222
- 14 Replies
- Last post
by jenx222
- how do i get the copy, cut and paste controls to work with the DHTML box
-
- How to debug multithreaded application with visual c# express ?
by Chryso
- 3 Replies
- Last post
by Figo Fei - MSFT
- Hello, I am developping a multithreaded application. And I was trying to debug some stuff... however, it seems that a breakpoint does not halt every thread. It only halts the thread that came on the breakpoint... making it hard to have stable values. Am I wrong in thinking so Any idea on how to make it so that every thread breaks when on breaks Regards, Chryso
-
- Why doesnt this work ?
by Sjas
- 10 Replies
- Last post
by Dave299
- Im trying to make a delay for 2 seconds...
This is what im trying to do:
1. Button click
2. event happens
3. wait 2 seconds
4. event happens
5. and so on.
But i cant get the timer to work.
Im pasting the code part that i cant get to work. all help is greatly appreciated.
Thx
Imports System
Imports System.Timers
Public Class Form1
Public Sub time
-
- Registration Error after Installing Service Pack 1
by NZ_RGB
- 3 Replies
- Last post
by NZ_RGB
- I installed Visual C# Express and registered it with no problems a couple of months ago, and have been using it with with no problems.
I then installed service pack 1 for Visual C# Express and have been using it for 3 days with no problems.
Today, I got the message that I had not registered it, and had 27 days left to register!
I clicked on the 'register now' link, entered my passwo
-
- Clipboard, images & transparency
by jimmygyuma
- 6 Replies
- Last post
by jimmygyuma
- When I put an image on the clipboard with transparent areas and then retrieve it the transparent areas have been converted to blue. Specifically, the transparent areas are Color.FromArgb(0,0,0,0) and the color returned from the Clipboard is Color.FromArgb(255, 0, 211, 0). I had some demo images, but, no attachments( )...
I saved the image at various steps in the procedure, and my code was doing
-
- Threading With a Console Window
by Fase
- 6 Replies
- Last post
by nobugz
- Doesn't seem the same way as threading with a Form. I basically create a thread, and want it to return a value to a sub in my main module Ex. Convert this to work with a console Private MainForm As Form = frmMain Private Delegate Sub dReceive(ByVal clientdata As String) Private mReceive As dReceive = AddressOf frmMain.ReceiveMessage 'Thread Invoke Public Sub Invoke(ByVal Args() As Object
-
- Finding all methods of CLSID
by ahelpyguy
- 2 Replies
- Last post
by sixcsix
- Hi, I have to write one vc application, but some what new to programming i amunable to start, here is the steps for it, 1) Take CLSID as input 2) Find all the methods, properties of it , if it is present on the machine So how do i start Does anyone have source code for such application or any material thanks ahelpyguy
-
- process kill
by clint 2
- 14 Replies
- Last post
by ReneeC
- Hi guys
can you help me out here
if I do a
Process.Start( "c:\program files\super mp3\smrpro.exe" )
smrpro opens in the middle of my form........
how do I reposition it, or dock it....and how do I kill it
Process.GetCurrentProcess.Kill()......just kills my project
any help please
cheyenne