Software Development Network Logo
  • Visual C++
  • Windows Vista
  • Audio and Video
  • Visual C#
  • Windows Forms
  • Game Technologies
  • Smart Devicet
  • Microsoft ISV
  • Visual Basic
  • VS Team System
  • Visual FoxPro
  • IE Development
  • SharePoint Products
  • .NET Development
  • SQL Server

Software Development Network >> Vaish's Q&A profile

Vaish

Member List

acf
Zakamon
joeydj
Pete Davis
Elie Rodrigue
Drazen Panic
Richard Berg MSFT
kangalert
bradygaster
VikasAgr
Malmer
PeterPan1120
BHOGuy
SDavis7813
Lamprey_
wolf777
Andrew9141
F. Gsell
guy87
TrevorW
Only Title

Vaish's Q&A profile

  • Visual C++ Get and Set properties of static window at run time

    Hello Gents, I am developing a desktop PC application. In this application, the user can create static window at run time.That means, the application based on Dialog window, the user click the create button the new static window created. The user can able to change positon ,size , text, color and also move the static window to over the client area. clarification : How can i get the properties ( static window frame border , color ) of static window when the user can change the position,resize that window I am waiting for yours valuble response!!!! Thanks and Reagrds, Vishva If your problem is still not clear... then please specify your exact p ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. how to use getcursorpos()? any example?

    I wish to use getcursorpos to get the coordinate of the screen, the game i want to develop is a fullscreen game. Some error happened because i didn't pass any argument to this function, what argument shld i pass to this function, how to get the argument Why need to pass argument. Thanks The function returns the cursor position in screen space, which origins at the top-left of the screen. I don't see how the function can return "different" results when you change screen resolution... ...Show All

  • SQL Server Excel Destination Error: Column"xx" cannot convert between unicode and non-unicode string data types

    Good afternoon Trying out the Excel Destination in SSIS, I ran into the above error. I did try to ignore my 2 varchar fields and then it works fine. Thanks for any inputs. Are you using the Data Conversion Transformation Tool If you are, then make sure you go into the SQL Destination Editor to change the mappings. The Conversion tool adds new source fields - it does not replace the fields for which it is converting. ...Show All

  • .NET Development Ink support in VS C# 2005 with Windows XP Professional x64

    Is Ink (Tablet PC) supported in Visual Studio C# 2005 under Windows XP Professional x64 A call to new InkEdit or any Ink class causes a Win32 exception. private void InitializeComponent() { this .inkEdit1 = new Microsoft.Ink. InkEdit (); System.ComponentModel.Win32.Exception {"An error occurred when loading the InkEdit control."} {System.Collections.ListDictionaryInternal} ErrorCode: -2147467259 In the project properties -> compile press the advanced compile options.  Set the target cpu to x86.  There are not any 64 bit version of the ink controls.  This forces it to use the 32 bit versions. ...Show All

  • Windows Forms Treeview dragdrop event ignores exceptions! HELP

    Hi, I have a windows.forms application in C# using a treeview with dragdrop capability, however I have found when an exception occurs in the DragDrop event and is unhandled, .Net ignores it (instead of showing the exception dialog) Attached I have some test code where I explicitly throw an exception in the DragDrop event, nothing happens! Any ideas thanks Brian public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void treeView1_DragDrop( object sender, DragEventArgs e) { throw new ArgumentException (); } private void treeView1_ItemDrag( object sender, ItemDragEventArgs e) { DoDragDrop( "!" , DragDropEffec ...Show All

  • Visual Studio Express Editions Virtual Code Keys

    Hi, This may sound stupid, but I need some help with the key codes for VB Express. (The accuall interger) I've looked throughout the web and on MSDN for a list of Virtual Code Keys and I did find many, but when I go to use them, many dont work and some are even like 4C -> Which isn't an interger and therefore work with with GetASyncKeyState. If someone could tell me where I'm going wrong or point me towards a list of the code's that would be great! Thanks, ItsMe!!! P.S. I would like to have all of them for further reference, but right now I need the key codes for | (Shift + \) and ` http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInpu ...Show All

  • SQL Server Cannot get SQL 2005 RS up and running

    I am attempting a migration to RS 2005. I restored the ReportServer and tempdb databases over to the new server. The config manager says the ReportService service is running. When I try to view the reports in a browser I get a report server is not responding error. Thanks Richard aspnet_regiis.exe is under %SystemDrive%\WINDOWS\Microsoft.NET\Framework\v2.0.50727. By "not recognized" did you mean you can't find it If so please check if ASP.NET is installed, and reinstall .Net framework if necessary. ...Show All

  • .NET Development execute method at a specific time without using a Timer

    Hello! I would like a method to be executed at a specific time. I wouldn't like to use a timer, since that time may change regularly and I wouldn't like to stop timer, change interval and start over so often. Is there any other standard way or trick to do it Hi, You can use a timer without the need of stopping it. You can create a timer that runs every 1 minute (or the freq that you want) and will execute your function that checks if it is time to run your method. It won't really impact your performace as the timer uses a thread from the threadpool. Cheers ...Show All

  • .NET Development SoapExtension - 0x80131047

    Hi! I try to declare the SoapExtension in the web.config like so: < soapExtensionTypes > < add type = " SELogger.SELog,Version=1.0.0.0,Culture=neutral,PublicKeyToken=1ad381803e562a68 " priority = " 1 " group = " High " /> </ soapExtensionTypes > Next I installed the Strong Named Assembly in the GAC which worked nicely. I checked the presence of the public key token: sn -T selogger.dll - the public key token mached the one in the web.config. Furthermore the Assembly got installed at: c:\windows\assembly\GAC_MSIL\1.0.0.0_1ad381803e562a68\selogger.dll. This seems to be consistent to me. But I still get: 0x80131047 - the assembly name or code base is not OK :o( D ...Show All

  • Visual Basic ActiveX Exe projects again

    I also have an ActiveX EXE which I want to migrate--I mean upgrade--from VB 6.0 to 7.1 (.NET 203). It is basically a Windows Forms app with a GUI but it needs to be able to communicate (send and receive) with another app which creates it. At one point it was an ActiveX DLL but years of graphics memory problems which could not be resolved any other way just simply disappeared when it was converted to an EXE running in its own memory space. Having thus just recently resolved the longstanding DLL problems, I doubt whether I could sell my client on going back to another DLL version because they never found a reliable QC test for it even thought it was constantly occurring (about 10% of the time) when it was deployed to their field l ...Show All

  • Visual C# Reading the end of an XML file

    I have a program that cycles through an XML file and outputs to another file every 1000 records. Thyis works fine until the end of the XML file is reached, when it fails saying my 'root' tag is not closed - although it does for the previous files. It seems to be having issues with recognising the end of the XML file, so can someone please confirm how this is done Currently I have a while loop to do this, with a for loop inside to cycle through the records, ie: while (XmlReader.Read()) { ... for (int i = 1; i <= 100; i++) { while (reads in a node here) { does the work } } Close the XmlReader and XmlWriter } This works fine for the beginning, until the end of the file is reached; is my way of reading the XML file correct (I have also trie ...Show All

  • Visual Studio Tools for Office Problem loading VSTO Excel Workbook project on Vista RTM, Visual Studio 2005, Office 2007 & VSTO SE

    I get the following error when loading an VSTO Excel Workbook project: --------------------------- Microsoft Visual Studio --------------------------- A compatible version of Microsoft Office Excel 2003 is not installed on this computer. You must install Microsoft Office Excel 2003 SP1 and the Visual Studio 2005 Tools for Office runtime (VSTOR.exe). Select the Repair option when you install the runtime. VSTOR.exe is available on the Visual Studio 2005 Tools for Office installation media or at the Microsoft Download Center ( http://go.microsoft.com/fwlink/ linkid=49612 ). --------------------------- OK Help --------------------------- My Configuration: Windows Vista RTM Office 2007 RTM Visual Studio 2005 Team Edition for Software ...Show All

  • Visual FoxPro Replace character in a field

    I need to perform an update on a table, replacing a charcter (+) with another one (x) In SQL Server I Write Update <Table> Set Field = Replace(Field, '+'. 'x') With a dbf table it doesn't wotk and I couldn't find out how to do this. To be more specific, my table has a field (named flags), and it can be filled like this: i + xx i++ x+ +++ i+ I have to replace all '+' with 'x' to heve this result: i x xx ixx xx xxx ix Can anyone help me, please Easy to do in XBASE on a DBF:  REPLACE [ALL] field WITH STRTRAN(field, "+", "x") [FOR {condition}] * note that ALL and FOR clauses are optional   If you prefer SQL syntax UPDATE field ; SET field=STRTRAN(field, "+", "x") ; WHERE {condition} ...Show All

  • Visual C# Sound question

    One last question: Unlike many other people who like to know about adding a sound file (.wav, .mp3), I would like to know how to get my program to just make that *lovely* beep sound that I was all to found of in QBASIC. I would like to know how to get just a simple beep when the user clicks a wrong button. Since I am so old school and out of touch with C#, I can only provide an example of it in QBASIC CLS BEEP END Any simple way of doing this in C# LOL! Kinda reminds me of a program I wrote for QBASIC about 1-1/2 years ago to annoy the *** out of my dad. Had it so it would constaintly beep until a key was pressed while the screen flashed WAKE UP!!!! in 256 colors flashing randomly while he tried to sleep on the couch. ...Show All

  • Visual C++ Hi All

    Could i know how to connect a sql server 2005 database using the VC++ code in visual studio 2005 and also through ADO.Net.... anyone clarify me... ...Show All

©2008 Software Development Network