-
- formatting console app's output
by new to sql server
- 1 Replies
- Last post
by Glenn Wilson
- Does anyone know if there is anything similar to a table that can be used to format the output for a console app I have
been using escape characters and spaces in the code to control the formatting of my app.
Thanks to anyone that can help.........................................................................
-
- populating combobox with enum
by p4553d
- 1 Replies
- Last post
by Suprotim Agarwal
- Hallo at all! I have a problem with populating comboboxes with enum. I make it as follows CB.DataSource = System.Enum.GetValues(typeof(MyEnum)); It will automatically rewritten to CB.DataSource = new MyEnum[]{ enum1, enum2 ... } BUT! after few starts I get an error " Cannot modify the Items collection when the DataSource property is set." because a CB.Items.AddRange (new object[] ..
-
- Open same form when button clicked
by Tyler M
- 7 Replies
- Last post
by Rykler
- Ok, i am trying to open form1 when I click a button. I have only 1 form, so is it even possible to have form1 open more than 1 time If so, how do i make the button open a new form1 I have tried in the click option to use:
open.form1
and me.new
and open.new.form1
and so on. I am so lost on this one...
PS: I would also like to know if there is a way to make this ha
-
- How to use the DataReceived event which was defined in a module.
by VickyJoe
- 13 Replies
- Last post
by Carsten Kanstrup
- Hello, everyont:
I met a problem that I didn't thought it was a trouble one,but in fact it troubled me for almost a hole day:
I defined a SerialPort Class in a module. Please look at the following codes:
Module Module1
Dim rdata() as byte
Public WithEvents comport As New System.IO.Port.SerialPort("COM1",9600,IO.Ports.Parity.None,8,IO.Ports.StopBits.One) '
-
- Saving settings in VB Express Edition 2005
by Dopey-Rob
- 5 Replies
- Last post
by clint
- Hey,
I want to make my program remember things.
I'm not sure how to do this.
What I mean is. I would like to know how to make my program save settings, such as: the user's choice of backcolor(I have radiobuttons for that)
I'm sorry if that's a bad explaination but yeah..
Help! xD -Rob
-
- Installation Problem? Unable to create applications from the CLR Panel.
by troyal7563
- 7 Replies
- Last post
by livai
- I am sorry to be posting a question that seems so fundamental, but I have looked as many places as I could imagine and am unable to find anyone else who is having the same problem, as elementary as it is.
When I attempt to create one of the projects from the CLR tree (Class Library, CLR Console Application, CLR Empty Project, Windows Forms Application) I am receiving an error that states &q
-
- Access ate my SQL Express
by Richard S Williams
- 1 Replies
- Last post
by Caddre
- Installed SQL Express on XP SP2 with access 2003. Upsized. Ran fine. Installed access 2007 (along with 2003), which, after working for awhile, hung on startup. Lost the ability to connect to my SQLExpress databases.
Uninstalled. Reinstalled. Couldn't find old databases, couldn't find new databases created with server manager. Update wizards failed with both 2003 and 2007 versions of access
-
- Problem with MSMQ (Unicode) [IT WORKS! :D]
by Damiox
- 1 Replies
- Last post
by Damiox
- Hi! I'm using Visual C++ with MSMQ (Microsoft Message Queue Service). I have a really big problem with the Variant type. I can't write into the Message Queue a vector of char (a normal String), because Variant type automatically convert the const char* type in wchar_t* (UNICODE). When I insert bytes into the MSMQ, I insert two bytes for each character because the sizeof of each wchar_t is 2 by
-
- invalid exception " "Invoke or BeginInvoke cannot be called on a control until the window handle has been created."
by MffM
- 10 Replies
- Last post
by Carsten Kanstrup
- Hi all
i have a project in vb.net some times at run time this message appear
InvalidOperationException was unhandled
{"Invoke or BeginInvoke cannot be called on a control until the window handle has been created."}
i don't know why and i didn't find any logic when it's appear because when i run my project some time its appear and some time it doesn't appear.
i read alo
-
- Resourcing AVIs
by slickred
- 12 Replies
- Last post
by slickred
- Basically, is it possible Can I include an avi in my program rather than have to link to an external resource
Thanks,
SlickRed
-
- error 0x80070005: Microsoft Windows Installer 3.1.
by Dave Kirk
- 1 Replies
- Last post
by Figo Fei - MSFT
- I'm running Windows XP SP2 and I'm installing Microsoft Windows Installer 3.1. Here is the error message that I am getting:
Event Type: Error
Event Source: Windows Update Agent
Event Category: Installation
Event ID: 20
Date: 4/26/2007
Time: 10:57:10 AM
User: N/A
Computer: ITMANAGER
Description:
Installation Failure: Wi
-
- Date Validation
by StarsFire
- 3 Replies
- Last post
by StarsFire
- Hey guys..
Okay here is what i have:
I have one date i want to comepere with another date.
I want to check if the date that is returned is within 5 days from now.date, and if it is it will have to do someting :)
Okay hope anyone got a clue on how to do this, have serched all weekend on how to do this. And oh ya, tryed the Date.compere thing, but that only checks if it is the same d
-
- Painting
by Fata1Attack
- 8 Replies
- Last post
by nobugz
- Code Snippet
private bool b = true ;
...
private void pictureBox1_Paint( object sender, PaintEventArgs e)
{
Graphics g = e.Graphics;
Pen mypen = new Pen ( Color .Gray, 2);
// I want to clear everything. I want to have a transparant picturebox. So The line I draw looks like it has been drawn for the first time.
if (b = true )
g.DrawLine(mypen, 0, 0
-
- Read and count line
by wencey
- 1 Replies
- Last post
by DMan1
- I hav the text file which has a value each line..How can to find out or count exactly how many lines wif value inside the file and how to get the largest and smallest value from the file
-
- How to know when a page load complete?
by jiuhu
- 1 Replies
- Last post
by Cameron Kloot
- hi there
i'm trying to perform a calculation when a page is load complete...
i would like to let the label first display the original value, then only perform calculation and display he result...
thanks for it...
-
- Platform SDK
by SP534
- 2 Replies
- Last post
by SP_021
- I've only recently started learning how to use C++, and I've downloaded a few examples from lots of websites, but i cant get most of them to work.
I keep on getting errors like 'Fatal Error C1803: Cannot open include file:'afxwin.h':No such file or directory'. I know that afxwin.h is from the Platform SDK, but I don't know how to make it work.
I've tried, like the with DirectX SDK, making a
-
- GDI+ Does NOT Work AT ALL!!!!!!!!!!
by TheCoder577071
- 14 Replies
- Last post
by Anonymous-df
- This is annoying me a LOT Right now when i compile anything that includes gdiplus.h i get about 121 errors... From Microsoft's header. I have copied and pasted microsoft samples like http://msdn2.microsoft.com/en-us/library/ms533895.aspx and they have the compile errors, i have downloaded projects from all over the web and they get the compile errors. This is frustrating beyond belief! I even in
-
- MonthCalendar date selection how???
by avols143
- 1 Replies
- Last post
by Ken Tucker
- Hello friends,
I made a form with one MonthCalendar and a command button. When I click on command button the message appears like this
Your selected date is Selection Rang: start: 20:01:2007 00:00:00, End: 20:01:2007 00:00:00
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventAr
-
- free Enhancer for Express ?
by cometta
- 1 Replies
- Last post
by Sheng Jiang
- Is there any free (freeware) enhancer like "visual assists , IncrediBuild for express
-
- Logic problem
by stallion_alpa
- 10 Replies
- Last post
by Dave299
- This problem appears to be a logic problem rather then a syntax one. Basically I have a heap of images and I want to display 3 per row. My problem is atm it is only displaying 2 on the first row and then 1 per row after that. Here is my code: Private Sub maps_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load loadworldMaps() interval = 0 setting = "maps&q
-
- hi, i am making a VB app and dont want to sound n00bish but
by compactmac
- 5 Replies
- Last post
by Shananogans
- I am using VB express 2005
I would like to know how to have an app where if I click on Button1, it will open Forum2
I have tried some things by myself and they didn't work.
Also how do I create an application like the old Office 97 where you have the main Window, and if you created two new documents, they would be withn the same window. I am making a simple application, with a
-
- Download Trial Version C++ Visual Studio
by JHeafre
- 2 Replies
- Last post
by einaros
- I am trying to download C++ Visual Studio but seem to be having a prblem. How do I download this trial version
-
- Embedding resource AFTER assembly is built
by MessiahAndrw
- 4 Replies
- Last post
by MessiahAndrw
- How can I embed a resource (in my case, a text file) to a .NET executable after I've compiled it
-
- Lesson #4 - Development
by ReneeC
- 14 Replies
- Last post
by ReneeC
- Sometimes the idea of using the debugger, can be intimdating to those unfamiliar with them.
This is a tutorial based in a standard piece a source code that we will supply for the purposes of this tutorial. We're going to make a cheap MP3 player. I hope this tutorial is highly interactive and constructive.
Needed Ingredients:
1.) A test directory with about 4 mp3 files. Make them as shor
-
- How can i send multikeys to program?
by i-developer
- 3 Replies
- Last post
by Figo Fei - MSFT
- Hi ; i have a shutdowning program i did by myself. i want to do that: when clikc Close me button. setting the timer. it's ok. but i want to lock the windows like when we press WinKey Right + L i write like this. but nothing happenes... Could you say my error SendKeys.Send("{WINR}{+}{L}"); thank you so much.