Sunghwa Jin's Q&A profile
Visual Basic Save and Load?
What I want to do is save the input from four txt boxes Name.txt Tel.txt Mob.txt Mail.txt After the input is saved I want to add new data and save again etc,etc. Then I need to load the information back again in to the relevant Txt boxes Name to Name.txt Tel to Tel.txt etc etc and scroll through forward and back to search for a paticular name. I am thinking it will have to be done with arrays but how to do it is the question. If this is a lot to ...Show All
Windows Forms get the highlighted row index of a datagridview
hi all, i need to know the highlighted row index(which has arrow mark on the row header) of a datagridview control, but the problem is i need to know this when the datagridview control will not have focus. can any one help me on this. thanks in advance --- sombhotla Use the CurrentCell property. The RowIndex property for this cell gives you the active row, even when the grid does not hav ...Show All
Visual C++ TIME CONVERSION BUG
// TimeConstructionBug.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "ATLComTime.h" int _tmain( int argc, _TCHAR* argv[]) { COleDateTime a(2006, 12, 1, 17, 0, 0); SYSTEMTIME b; a.GetAsSystemTime(b); FILETIME c; ::SystemTimeToFileTime(&b, &c); COleDateTime d(c); CString startTime(a.Format()); CString endTime(d.Format()); printf( " ...Show All
Visual Studio Replace Visual Studio linker with (ICC12) alternate linker??
For embedded development, I'm using the ImageCraft HC12 compiler. It's a pretty good compiler, but it includes a difficult-to-use IDE. Under VS2005 I've setup a "Custom Build Rules" file that uses icc12w.exe to compile my *.c and *.s project files. I also added user defined properties for each of the command-line options, so that they could be configured through the project properties page. The problem is linking. Is there a way to rep ...Show All
Visual C# How to Display ASP.NET Template Contents in New Website dialog **
Hello all, in VS 2005 When clickin on New - Web Site- New Web Site Dialog. in this dialog Under Visual Studion Installed Templates. It is showing only Windows Application, Class Library, Windows Control Library, Crystal Reports and Device Applicaion. How to get ASP.NET Web Site Contents (it is suppose to display ASP.NET WebSite, ASP.NET WebService....) i am wondering that why New Website Dialog is not displaying those. where as other PC ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Setting a custom cursor image [MDX2]
Hello all, I'm not sure if this post landed in the right forum, I'm sorry if it didn't. I'm developing a smallish Managed DirectX (2.0) application and I would like to change the standard mouse cursor image to my own image. I've created a small 32x32 image that I would like to have instead of the normal windows cursor. I guess this would change the cursor in other windows applications aswell during the time my application is running but that is ...Show All
Visual Studio Express Editions Converting string to integer / Timer issues
Hi there! I'm currently experiencing difficulty in making a progressBar work and at the same time, having difficulty converting a string to integer in Visual c# and wondered if anyone could help Basically, I have a textbox, the text in the textbox is like 00:09 (its a time reference, so it says that the current file is 9 seconds long). I am trying to create a progressBar that will change when the file plays, so when the file is playing ...Show All
Smart Device Development Web service issue over GPRS
Hi, I'm developing my first Pocket PC application in C# in VS 2003. It's a cut down version of a desktop application I've been developing in VB6 for a few years now. It makes a call to a web service which is out on the internet. It's all gone really well until now. I'm running/testing the application on a HP IPAQ hx2400. If I access the internet over broadband via my office wireless network the application works ...Show All
Windows Forms Drag/Drop Question
In VB.NET 2003 Can anyone tell me how I can drag an icon on mouse down off a form & when dropped return the handle of the control the icon was dropped on For an example of what I mean see the SPY ++ tool that came with ...Show All
SQL Server Force IS to use column headings
Hi, I've got an IS package which reads a lot of records from a text file and loads that into the database. The text file has column such as Firstname, Lastname, phone number etc and same as the database table. The problem: IS works fine if I have the text file columns in the same order as the database columns but for example if have phone number in the place of firstname (in the text file) IS puts the phone numbers as firstname in the database a ...Show All
.NET Development commit changes from dataset to Data base
Hello, My problem consist of: I made a dataset throug the VS 2005 designer, then I added an objectDataSource to retreive data ,I stocked this data in a datalist which permit to me to update the data in the DataSet , the problem is I don't find the way to commit the changes to the DB ; because I can't manipulate the instance generated of the dataset by using the acceptchanges() method. So what can I do H ...Show All
Smart Device Development VFP & Pocket PC
Dear experts, I have working with VFP for ten years and never programmed in other language. Any suggestion to which language should I used at the mobile side for a shortest learning curve Thank you in advance. I also do VFP work, but spend most of my time with mobile C++ projects. Take a look at VB for mobile devices (assuming MS is still supporting it), as it is not as strongly typed as C#. ...Show All
Visual Basic Help: Visual basic program
Hi i am making a program with a listbox named (lst) and picturebox named (pic) and i put the following code into the listbox selectedindexchanged sub so as the user clicks on the picture name from the listbox it displays in the picturebox Note: the listbox contains the paths of the images as there is openfiledialog in the program Private Sub lst_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles lst.SelectedI ...Show All
Visual Studio RTM version - SQL Express failed
Hi I ran the uninstall tool - everything went fine. Ran the VS setup, SQL Express did not install. From dd_vsinstall80.txt [09/30/05,10:15:04] Microsoft SQL Server 2005 Express Edition x86: CreateProcess launched with cmd linez:\vs\setup\..\wcu\sse\SQLEXPR32.EXE "z:\vs\setup\..\wcu\sse\SQLEXPR32.EXE" -q /norebootchk /qn reboot=ReallySuppress addlocal=all instancename=SQLEXPRESS SCCCHECKLEVEL=IncompatibleComponents:1 SQLAUTOSTART=1 ERRORREPORTING ...Show All
Visual Studio 2008 (Pre-release) Attributes and new features in C# 2.0 and 3.0
Hi, Have you try to use attributes with the new features of C# 3.0 For example this code: [MyAttribute( x => x + 1 ) ] class Program { static void Main(string[] args) { } } public class MyAttribute : Attribute { public MyAttribute( Func<int,int> d ) { } } Makes VS.NET 2005 throw an unmanaged exception, and the command line compiler does not generate any files So the question is divided i ...Show All
