Ach25572's Q&A profile
.NET Development VB.NET Window Application associates with SQL Server
I have a simple VB.NET Window Application, initially I program it WITHOUT having any database connection. It (the .exe) runs fine in my local PC and network shared. When I add a database connection string to the program. A simple DSN-Less database connection string using ODBC Provider to SQL Server. Without any query, just merely try to connect to database. It runs fine in my local PC without any error BUT it returns security error when runs ...Show All
Visual C++ How to output __int64 content by printf() serial function ?
HI, ALL: I need to use __int64 data type, but I cann't find output way by printf(), or other way I have tried %d, %ld, %LD... that does not work. Does anyone can help me Thank. Just for anyone else who encounters this, that's the capital letter i (I) and not lower-case L (l). In my browser's font those two characters are indistinguishable, so it led to some head-scratching until I figured ou ...Show All
Visual Studio Team System Another newbie question on performace tools
Where can I found the detailed document of performance tools The document (walkthrough etc.) in Beta2 MSDN is not enough. For example: I could not found the detailed explanation of the meaning of each column in the performance report(e.g. What's the exact meaning of "Gen x Instances Collected" column and how to use this information to tune my program ). Thanks! They are helpful. I have read them carefully and they are great. And ...Show All
Visual FoxPro problem to use in "textbox"
Hi all; my language is Arabic I have a problem to use in "text box" vfp. i can not edit entered in the "textbox" of form. I choosing own of character (in right) my text but chose any of character (in left) I used to setting for the right to left property but it is disregarded. The cursor in the "textbox" is left to right and but I want the cursor in the "textbox" be right to left. My wind ...Show All
Smart Device Development designview with multiple framework from chris tacke
Hello, 1)if I implements this, everything works fine. In the code there is something like if designtime end I suppose this is to get design view but this doesn't work. I have to comment everything from the stackform and uncomment the normal form so I can see designview and edit the form 1)are there others that have experience with this framework I wonder how much forms on the stack (the forms are not closed but hi ...Show All
Visual C++ Problem with decimals
I'm a student and am taking a C++ class. I am just learning so when another student came to me with question I didn't know how to answer it and neither did the teacher. Basically the student tried to get the modulus with out using the mod funtion. Here's the code: int w = 0; int n = 23; int d = 5; double x = 0; cout.setf(ios::scientific); w = n/d; x = n/ static_cast < double >(d)-w; n=x*d; when run 'n' comes out to be ...Show All
Visual Studio VSS 2005 Issue
At two of my XP machines I successfully setup VSS 2005. Issue is at the server which is an Windows 2003 Standard. It seems that when I check Server -> Configure then Enable SourceSafe Internet for this computer and corresponding option bellow Enable SourceSafe Internet for this database VSS Administrator does not properly create virtual dir, to be more precise, it does note create VssUpload_db1 and VssDownload_db1 sub-virtual dirs. Moreover, ...Show All
Visual C++ Is there any thing equivalent to NotOverridable in C++?
Hi guys, My problem is this. class Base { public: void OneFunction() { cout<<"Base"; } }; class Derived:public Base { public: //overriden, I ...Show All
Windows Forms C#.net Datagridview
How do i change the color of the text that I pull in from the dataset to fill the Datagridview I need to be able to change the color of the text on the fly. Hi, Have a look here How to: Customize the Appearance of Cells in the Windows Forms DataGridView Control ...Show All
Windows Live Developer Forums Welcome to the MSN Search Web Service Forum
This is the place to talk about the new MSN Search SOAP service! The API is based on the SOAP standard, so it’s easy to consume using Visual Studio .NET 2003 or Beta2 of Visual Studio 2005. You can use your Passport to sign up for any number of ApplicationIDs, and then call the MSNSearchService API. You can query 10,000 times per day per IP address, enabling you to work with an unlimited number of Search queries. For mor ...Show All
SQL Server How can I move the system databases?
I have been attempting to detach and reattach the model database. I tried to set the Trace Flag 3608, but it is having no effect. Just to be sure I am setting the flag correctly, here is the startup parameters string in my Configuration Manager: -dD:\MSSQL.1\MSSQL\DATA\master.mdf;-eD:\MSSQL.1\MSSQL\LOG\ERRORLOG;-lD:\MSSQL.1\MSSQL\DATA\mastlog.ldf;-T3608 Has the process of moving system databases changed in 2005 ...Show All
Visual C# datasets -- hiding passwords from user's view
I have a dataset that has 6 columns. Two of these columns contain passwords. I need to use these passwords for FTP purposes, but I would like the user to see only "****" when they run the program. How can I do this ~Lauren U could hide those 2 columns that contains the passwords. right-click on the datagridview. Select Edit column ... and you could remove or make the column visible = false; Hope it helps ...Show All
Visual Basic How to show only one messagebox under timer event
Ok i have a textbox a timer. If textbox.text = My.Computer.Clock.LocalTime.Date then a message box should pop up "today is your day" After the first messagebox has been shown it should stop but it repeats itself coz i put it under timer_tick event I want it under timer event but i want the message box to show only 1 time this the code i input but couldnt work: Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.E ...Show All
Windows Forms DataGridView Bug?
Hi everyone, I have simple C# Form with only one DataGridView on it. The DataGridView's DataSource is bound to class with only 2 int properties. When I fill in the two cells on the first DataGridView row and quickly press 2 times ESC while the cursor is in the second cell the form crashedwith System.InvalidOperationException. Any help/suggestions are welcome. WinXP SP2, VS 2005 .NET 2.0 Best regards: KalliMan ...Show All
Software Development for Windows Vista not found in state persistence store
I started wwf state machine runtime by: _wfrServer = new WorkflowRuntime (); ExternalDataExchangeService wfExchange = new ExternalDataExchangeService () _wfrServer.AddService(wfExchange); SqlWorkflowPersistenceService stateService = new SqlWorkflowPersistenceService (ConnString ) _wfrServer.AddService(stateService); _wfrServer.StartRuntime(); When wwf arise on delay activity(first time, to be idled), I got exception: ...Show All
