Answer Questions
Jacky Yiu Using "Enter" Key in a form
By default, the Enter Key presses the last button used on my form (a calculator). I need the Enter key to stop doing that and to run a procedure instead: If "Enter" is pressed DoSomething() End If Any suggestions on how to do this AND override its normal function Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ...Show All
jrothlander Using the IDE
Hi i am new to coding and microsoft visual c++ express. Anyway i already have set it all up right even used the videos to do which you can find here: http://msdn.microsoft.com/visualc/learning/vcexpvids/default.aspx Anyway i am using a c++ a beginner's guide se by herbert schildt i have been trying to compile the fist simple program code in chapter one here is the code exactly as the book states. /* This is a simple C++ program. Call this fil ...Show All
Konstantin Kosinsky Subtraction of a decimal less then 1
I am not sure if anyone else had this problem, if so please help... While writing a simple function that holds the equation: bVariable = 1 - aVariable (where: 0 < aVariable < 1) Every so often a nasty little bug showed its head. I have used every number decleration (keeping both the same). My problem is that the code works, but the value calculated is wrong! When "aVariable" is equal to 0.94, the value ...Show All
RVNL Multiuser problems!! need helps
Hi, everybody. let we post the example to understand the problem: I have 2 tables: Person : ( PersonID , PersonName, ...) Phone : ( PhoneID , PhoneNumber, PersonID ) where PersonID is a foreign key. based on the MSDN sample, I create a form to enter informations about persons with its phone numbers using the datagridview. I have in my form: textboxs to enter person informations and datagridview to enter the phones numbers. ...Show All
Don Tran Treeview
I'm using the treeview control to simulate an outlook type navigation system so when a node is clicked a panel opens and when another node is clicked another panel is displayed. I can't make heads or tails of the 3 msdn library examples which seem to discuss populating the nodes. Does anyone have a link to a useful tutorial or tech doc on node click events in C# Regards Paul Devine Wondeful, thanks Sh ...Show All
SoftwareGerbil How can I make certain days visable on calendar?
I am working on Calendar Control. So I am trying to make certain days in the selectable and other are not. For this, I tried to run the example code that is provided by VS.NEt Help. The code id as follows: protected void Calendar1_DayRender(object sender,DayRenderEventArgs e) { DateTime myAppointment = new DateTime(2005, 12, 1); if (e.Day.Date == myAppointment) { e.Day.IsSelectable = true; } else { e.Day.IsSelectable = false; } } When I try ...Show All
Peppy MFC projects in Visual C++ 2005 ???
I just started up Visual Studio 2005 Express and attempted to create a new MFC project. But that's not an option on the New Project dialog. It shows some CLR project types, which is NOT what I want to do. It shows Win32, allowing only a Windows Console app. And it shows "Other Project Types", but lists no actual project types under it. So, how do I build an MFC application with VS 2005 Please don't tell me that Microsoft is simply abondoning MF ...Show All
benderillo gridview selection error
When I select a record from my gridview I update a detailsview with: DetailsView1.PageIndex = GridView1.SelectedIndex That works fine for all the records on the first page (paging enabled), but if I choose my second page, it selects the data from the first page at the same location. (e.g. page 1 record 1 name = "John" clicking select populates the details view with "John". If I go to page 2 and select the record at th ...Show All
Mutola Downloading videos
I am trying to download the "Windows forms control series" videos from this site. http://msdn.microsoft.com/vstudio/express/vb/learning/#forms but it only downloaded 1k files. Did any one get tfis videos downloded When I click on the link, new window opens and a windows media player opens as well. WMP connects on Internet and starts buffering the video. I need to wait a few second ...Show All
sharif_m Books: Recommendations
My hope is this will become a sticky posting, so everyone can see it, use it and reply to it. I am looking for recommendations on books for Visual Studio 2005 & Visual Studio 2005 Express Edition (if there's a difference). If you know of any good books related to these, could you please post them here This way people will have a resource they can go to so they can find this type of information, especially beginners like me. I thin ...Show All
asCii A Tall Form Opens in the Middle
I have a vb.net form that's relatively tall (about 800). When I open that form, instead of opening at the top of the page, its opened towards the middle and the user would have to scroll up to get to the top. Does anyone know why that happens and what to do about it The tab-order feature is really cool. I never noticed that. And thanks so much, straightening out the tab-order seems to have fixed the proble ...Show All
Cathal Connolly Platform SDK samples
I just installed Express C++ and thought I would start by compiling a Directshow sample. I had all kinds of problems when I found out there are newer versions of the samples in the Platform SDK. The new samples have been converted to nmake builds with no VC project files. Is there an easy way to make a project I tried the new->makefile template, but that did not copy any source files. Anyone able to build Platgorm SDK samples ...Show All
vadoriu Goto????
How do you say within the code of a form say If blah = blahblah then goto private sub example () because when I say goto private sub example() private becomes underlined in blue and sais 'identifier expected' in error list do I have to declare the sub or can you not write your own sub e.g private sub whatever_i_want () ... I need to know because I have lots of the same stuff to write and I'm sick of copying and pasting. a ...Show All
Zithuba Undo, Cut, Copy, Paste, Delete, Select All; Check to see if enabled or disabled
I have the "standard" edit menu along with the "standard" tool strip. What I am wondering is how to enable and disable the buttons (listed below) depending on if you can actually preform those action. So for example I can not paste something unless i have something in my clipboard along with being in a text box. So how would I enable that or disable those button automatically when that before true or false Like they would in ...Show All
GSLAG Reading numbers, convert to double fails outside US
Hi, This doesn't work as expected on a machine, where the decimal separator is something other than a point (a comma, for example): double x= Convert.ToDouble("3.141"); In my application, the data is coming from a machine, and I can't tell it to use comma. How do I do this correctly Of course, I could just change the comma to a point, but that's a hack and then the application might fail in an another country - or is anybody using othe ...Show All
