Hemant Savant's Q&A profile
Windows Forms Trigger fill dataset from other form
Hellow, This is the situation: I have one form (form1) and another form (form2). Form1 is the standard form that opens on application run. In form1, there's one datagrid, bound to a dataset (members of form1). When I click on a button "new row" in form1, form2 opens. In form2, there are several textboxes to fill in (the columns of form1). When I click " ...Show All
SQL Server Sql Server Express Database login problem
Hi! I'm using Sql server 2005 Express, and now i have a login problem. I want to create a user for my database in Sql Server Authentication mode, that when others that they don't know sa password and login in windows authentication mode can't see or can't access my database. I did these steps : 1. I loged in to sql server in 'sql server authentication' mode and with strong sa password 2. I went Security \ Logins and created new login with password 3. I went to my database security \ users and created new user and for login name i choosed previous login i created in step 2 4. Then i closed sql server and when i restarted it an ...Show All
Visual Studio Visual Studio 2005 Beta 2 setup fails immediately
Hi, I'm installing Visual Studio 2005 Team Suite from the Beta 2 DVD handed out at one of the recent MEDC events. I have: Windows XP Pro + SP2, 1.6Ghz, 256MB RAM, 4Gb disk space free. No problem with the DVD drive that I am aware of. No previous betas installed. I have VS 2003, eVC++4.0, Embedded Visual Tools 3.0 installed. Following error appears: AppName: setup.exe AppVer: 8.0.50215.44 ModName: setup.exe ModVer: 8.0.50215.44 Offset: 00029002 Any ideas I can send the full error log if you give me an address. Regards, Ade W You could try running FileMon or RegMon and see if they throw up any erro ...Show All
.NET Development How could I know if I am running a NGEN'ed image?
After I NGEN'ed my program and run it, I found there is no change on memory cost and running speed. I doubt if I am still running the old version(not NGEN'ed) of my program. How can I run the NGEN'ed image directly Or how can I know if I am running a NGEN'ed image Thanks! The simplest way is to look at the fuslogvw. This would give you details as to which image was used and the reasons as to why the NGEN Image wasn’t used. ...Show All
Visual Studio Express Editions I need help
Hi my son Brent is wanting to learn how to program he is only 15 but knows alot about computers. What would be the best way and best programming laguage to learn. Also is there ne programming schooled that he could go to and how old do you have to be. Thnx Stacy The hardest thing about learning programming is learning the basics that apply to all programming languages. A lot of this is my personal opinion, and asking 10 other people will probably yield 10 different answers. The answer really depends on how committed Brent is to programming and how he best learns things. My basic suggestion is for Brent to learn some math if he hasn't ...Show All
Windows Forms I don't even know where to begin on this one...
I have a very large (enterprise) application I'm developing in VS.NET 2005 RC1. The application is based around a number of services (a lot like the Microsoft Composite UI application block). Within the application I have a number of forms that act as Wizards. This is where the problem begins. The first time through the wizard everything works perfectly (there are a number of comboboxes being bound to data, etc.) Once the wizard is closed and then opened again none of the comboboxes will display anything. The databinding seems to happen correctly; if i set a breakpoint, intellisense shows the combobox with ...Show All
Windows Forms How to determine mouse click coordinates when clicked in a certain portion of the titlebar
I've drawn an icon in the caption area of my form. It appears to the left of the close button. I need to be able to find out if the user presses a mouse button over that icon. Any help would be really appreciated!! Snickel65 wrote: I'm already that far, but I cant figure out the mouse coordinates, which are in the message's LPARAM parameter (somehow). Also, how do I convert the mouse coordinates to a particular region of the title bar lParam is a POINTS object that holds the x,y co-ords. You need to use DllImport to define the POINTS structure for use in C#. Note that the ...Show All
Visual Studio Tutorial, Starter Kit, Sample code, FAQ
http://www.gotreportviewer.com/ ...Show All
Visual C# Visual C# 2003 how to send variables in a class to other forms?
Hello 1) I have 2 forms and in the first form "form1" I have som textboxes and then I will put the data fra form1 textboxes into some variables in a class and then take the whole class and variables in the class to form2, so I can take out the data from form1 and use in form2 2) In another programering langauge you have to delete a class instans, but do I do that in Visual C# 2003, and is it neccesary or not Hope to hear from someone. Thanks spot In Form2 you can create a custom property of type of your class and set that property before you show your Form2. If you create the fo ...Show All
Windows Forms aaa DataGridView: Can't hide Cell highlight border
How do I hide the dashed cell border that appears when I click on a cell The row is selected ok - but the I don't want to the cell to be highlighted Any help would be greatly appreciated! Cragman P.S. I am talking of course about .NET 2.0 Beta 2 ...Show All
Visual Studio Express Editions Problems with Splash Screen and VB 2005 Express
I create a default splash screen using Add New item | Splash Screen and then I select it in the project properties. When I run in it the VB2005 environment, the splash screen shows as expected, but then gives an error message: NullMessageException was unhandled . before running the application. Without the splash screen the application runs fine. The exception detail follows. Has anybody any idea what I am doing wrong The funny thing is if I breakpoint the code, depending on where I place the breakpoint in the Splashscreen_load , the exception does not come up. After some experimentation, the problem also may be related to my code. Th ...Show All
Windows Forms Windows Application Problem
I have developed an application to do a certain task. I have used a application as I want an executable that can be kicked off. The code is doing what I want it to do when the executable is ran. Only problem is that I do not what a windows application window opened when the executable is ran because the window is blank as it does nothins, it is just the code that does some processing behind the scenes. Anyone know how to prevent the window from popping up macca Two ways that I see: 1. Change the application to a console application. This will open the console window which may not be you want. 2. Simply re ...Show All
Windows Forms Ugly Fonts
Am I the only person in the world that has noticed how awfully VB.NET renders fonts on controls ! The only control that appears to render them in the same fashion as they would appear in Word or Internet Explorer or whatever is the Tab control. Every other control misdraws the fonts and introduces all sorts of loony kerning. It really makes for an UGLY UI. Is there some workaround for this ...Show All
Smart Device Development vs2005 to device with ppc2003 ?
my application were written in vs2005 , and using opennetcf 2.0. I selected windows mobile 5.0 pocted pc when I created solution, I will deploy it to device with mobile 2003 and device with mobile 5.0. It's OK in the pocted pc with mobile 5.0 , and it looks well in device with mobile 2003.sometimes it will exit unknown in the device with mobile 2003. It show internal error in opennetcf2.0....., Maybe the reason is opennetcf2.0 have you traced through Apan.Cn.MobileCard.Configuration.Initialize() What is the text you are setting the comboBox's text to Is the combobox null Is your app multi-threaded ...Show All
Visual C++ Dinamic allocation of memory , acces violation
Hello Im working on project for my college, nevermind (but it urgent :((()... So I have this code example (in VS 6.0) in main class : REAL *Input[NUM_DATA]; ... size[br] = r.getSize(); Input[br] = new double [size[br]]; for (i=0; i<size[br]/12; i++) { for (j =0; j< 12; j++){ Input[br][i*12+j]=r.vector[j]; } ... delete[] r.values; // size iz a static field witch contains a number of data in object r. Br is variable which values go from 0 to NUM_VALUES. when I execute my program, it crashes. I have tried to put breakpoints and Debug it and Ive ...Show All
