newbieToVJS's Q&A profile
Visual C++ New CRT model? Somone please explain it?
Going from forum to forum, I notice that the term "new CRT model" is often used. What does it mean Someone please explain it to me in a simple manner. Or please tell me where related information is available. It seems to me that many runtime problems find their roots in this concept. Thank you very much. Ted, Thank you for taking your time. Everything you provide me with is interesting and useful! &nbs ...Show All
Software Development for Windows Vista interactive services
We have an existing interactive app that performs communication between the UI and a Windows service (both directions) via windows messaging and the manipulation of the interactive desktop. Our service creates a window in winsta0/default. The UI is running in winsta0/default. Yet, on Vista, the UI fails using FindWindow() to get the service's window handle. I've verified at runtime that both the thread creating the service's window and the ...Show All
SQL Server How to current logged windows user name in tsql
Hello how can i get current logged windows user name in tsql. I know with windows aut it is possible how can i get this when sql auth. Is there any system function or any special codeing required regards Chikuu take a look at suser_sname() select user_name(),suser_sname() Denis the SQL Menace http://sqlservercode.blogspot.com/ ...Show All
Visual Studio Express Editions simple VBS dos/console application req .NET FW2?
Hello, I wrote a simple exe file in VB Express and apparently when you run the exe in a dos box (on a Win2003 server) it prompts that it requires .NET Framework 2.xxxx. Ain't that mainly for the GUI stuff And is there a way to compile that file to an non-.NET exe but still being fully working the only thing it does it read out the active directory and save the data to a file (even when I comment out all the fso & ldap stuff it prompt ...Show All
Visual Studio 2008 (Pre-release) WPF DataTrigger and Enums?
I'm using DataTrigger in that way: < DataTrigger Binding = " {Binding Path=Source} " Value = " 1 " > < Setter TargetName = " tbSource " Property = " Foreground " Value = " Red " /> </ DataTrigger > But what do I have to use as value when my Binding Source is an Enum I tried its name e.g. AvalonApplication1.Status.Online and its value 0,1,2 a.s.o. but nothing worked :( Any hint for me I think you forgot the ...Show All
Visual Studio Express Editions Microsoft Access database will not update using Visual Basic 2005 Express
I have created a form to access a table in Access 2000 format. I can browse the records and everything looks fine, but when I update or add new records they aren't being saved to the database. I've included these lines in the save button of the binding navigator AffectedRows = Me .EmployeesTableAdapter1.Update( Me .CompmanDataSet1.Employees) If AffectedRows = 0 Then MessageBox.Show( "RECORD WAS NOT UPDATED" , "DATABASE INFORMATION" ) Els ...Show All
SQL Server SP datetime Parameter problems
DROP TABLE TestTable CREATE TABLE TestTable ( StID tinyint NOT NULL , StDate datetime NULL , Amt float NOT NULL CONSTRAINT [DF_TestTable_Amt] DEFAULT (0), CONSTRAINT [PK_TestTable] PRIMARY KEY CLUSTERED ( [StID] ) ON [PRIMARY] ) ON [PRIMARY] GO /* And After i'll create insert SP useing 'CREATE STORED PROCEDURE WIZARD' Sp name:'insert_TestTable_1' And Pass Some Parameter values */ ...Show All
.NET Development Internal .Net Framework Data Provider error 1
I am getting "Internal .Net Framework Data Provider error 1" error while calling execute reader. Any body has idea what is the cause and fix This method is called many times and fails after a long run. I ran task manager and memory is hitting 100% before the error. Though I am not sure, if it is happening due to memory, the errror provide no information to fix the problem. stack trace : ...Show All
Visual Studio Express Editions Adding new fields to an SQL Express table
I recently completed a single table form using the wizard and then dragging all the fields to my form. This works great, I can move through the data fine. I was informed by the powers that be that they want to add 5 new fields to the table. I did this using the database explorer and then re-ran the wizard to create the dataset. I then added the fields to the form but when I run the program I get an exception that states the added fields are inva ...Show All
Windows Forms How can I load an image into picturebox at runtime?
Hello All; I’ve done everything which I could, but no one was useful. As I found at MSDN I wrote something like this code: // You should replace the bolded image // in the sample below with an icon of your own choosing. // Note the escape character used (@) when specifying the path. pictureBox1.Image = Image.FromFile (System.Environment.GetFolderPath (System.Environment.Speci ...Show All
SQL Server Trying to Configure For Loop Container
Hi All I am new to SSIS, I am facing problems to configure a For Loop Container My Configuration is InitExpression is 2 EvalExpression is False AssignExpression is 2 And In Expression given one codition but its does not execute twice for the container Can any body help Thanks in Advance Have a look at this article and it may help you. For Loop Container Samples (http://www.sqlis.com/default.aspx 310) ...Show All
Visual Studio Express Editions uafxcwd.lib missing from PSDK?
I just downloaded the PSDK (x86 version) and am using it to try to link an MFC program. The linker complains about uafxcwd.lib being missing. Searching the disk, it is indeed not present in the PSDK lib directory, but there are version in the AMD64 and IA64 subdirectories. I tried the former, which not surprisingly seemed not to work. Using /NODEFAULTLIB:"uafxcwd.lib" also seemed not to work. I can't see why this lib would be missing. ...Show All
Visual C# DataBase - Duplicate Records
In my form, in a button_Click event, I have the Insert Query command. How do I prevent from inputing a duplicate record Can anyone help If you need more clerfication, just reply. You could do a DELETE FROM tablename WHERE (xxxxxx) before you do your INSERT to insure that an item is not already in there. You could do it all in one fails swoop with "DELETE.......; (<=== semicolon) INSERT........" ...Show All
Visual Studio Team System There is a way to make the link control to be required control??
Hi, There is a way to make the link control in the WI to be required field Thanks in advance, Shmulik. Shmulik, I do not believe this is possible for the links control. You can make individual fields required but I do not believe you can make the controls themselves required. If anyone knows of a way around this please let us know. --- Thanks, Jeff ...Show All
.NET Development how can i diplay labels vertically
can any body tell me if lilke to display labels in upward direction(bottom to top) instead of left to right.letter by letter in upword direction that is 90 degree You will need to manually create your own control to do this, see the following post for some help: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=11622 ...Show All
