Hardik Zaveri's Q&A profile
Visual C++ problems after updating sdk
Hello, I have visual studio 2003 .net. After I updated the sdk my programs wouldn't compile( they worked before). I mention that I have registered psdk directories with visual studio. this is the error I get e:\Documents and Settings\me\My Documents\Visual Studio Projects\2 10 2 10\stdafx.h(34) : fatal error C1034: afxwin.h: no include path set The include directories look like this: C:\vs\SDK\include $(VCInstallDir)include $(VCInstallDir)atlm ...Show All
Visual Studio How do you add a using/reference to a t4 template?
I have a property based on a List<string> called DataMembers that I want to iterate through in the template. <#@ Property Processor="PropertyProcessor" Name="DataMembers" #> I get the following error: : error CS0246: Compiling transformation: The type or namespace name 'TestPackage' could not be found (are you missing a using directive or an assembly reference ) Yeah, probably, but how do I add one ...Show All
Smart Device Development I need a control like RichText Box in CF
I need to show text in differents formats ( some words in red , others bolded , others in green ...) but in the SAME box! In compact framework I only know the TextBox control but It can’t do that. Please help me!, I’m blocked! Take a look at this tread: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=83695 ...Show All
Visual Studio Express Editions Function help
I am trying to get the information from textbox1 and output it into an array. I have tried this: char chrsplit[1000] strcpy(chrsplit, enctextbox->Text->ToCharArray()); but i get this error error C2664: 'strcpy' : cannot convert parameter 2 from 'cli::array<Type,dimension> ^' to 'const char *' with [ ...Show All
Visual Studio 2008 (Pre-release) Modal Anything!
Hi, I know this is problably an over discussed topic, but really, when are we finally going to have a modal window dialog By that I mean a dialog that can be show modal and have nice rounded edges and so forth The .ShowDialog window is really ugly and I really need nice modal windows at this point, seeing as the MessageBox itsel is really ugly, I need to make my own MessageBoxes and create Modal Input windows. Please can anyone help me ...Show All
Visual C# Create Word Documents By C#
Hello, I would like to create a Word doc directly from C# Windows Form codes. 1) How to create and open the Word doc After creating the Word doc and Open it, ... 2) How to insert a text from a textbox to the Word doc that is already currently opened 3) How to check the current Range.Selection location Please exlpain in full as I am a newbe in C# to create Word... Thanks in advance. You can u ...Show All
Visual Basic Need Help for data interpolation code (free code is better)
Hi, I am new to VB.Net. I am working on the numerical problems. I need the tools of data interpolation and extrapolation. I found some comercial packages online, but they are too expensive for poor students. So I wonder if anyone has same question, and what is your solution My purpose is, after loading some sets of (x,y), I can use the interpolation process (or extrapolation) to get the y values when given any x values. This would be non-linear ...Show All
Visual Basic Splashscreen "Application Title" won't take new value
Hi, I created a splashscreen using the splashscreen from the template. After changing the Application Title to different text a few times, it will not display any new text I've entered. It kept displaying the old text from a few changes ago. I have deleted the splashscreen and recreate it again and again. It seems the "older version" is saved somewhere and whenever I ran the program it brings up the old version, not what's act ...Show All
Visual Studio Team System How do I connect to a different TFS server location
I moved TFS to a different server with a different server name, however I see no option for changing the Team Explorer connection in the client. Is there a way to do this under the Tools menu select Connect to Team Foundation Server When the "Connect to Team Foundation Server" dialog comes up, click the Servers button to configure the list of known servers (the "Add/Remove Team Foundation Server" dialog).&n ...Show All
Windows Forms MultiLine Listbox (VS 2005)
Hello, I am attempting to make a listbox that allows each item to span multiple lines. I have made it owner drawn and am capturing DrawItem and MeasureItem. It all works great, except, when I resize the control, MeasureItem is not triggered. Is there anyway to force it to recalculate the size of each item when the listbox is resized Also, does anyone know of an easyway to be able to display richtext in a listbox ...Show All
Windows Forms Creating a windows service
Hi, I am having problems creating and running a windows service. I am using VS 2002 and using the service template. I have created the installer and setup project. I basically walked through the example given in the help. When I start the ...Show All
Smart Device Development SIP Control
Is there a way to enable and disable the SIP keyboard only. In other words I dont want the icon to display since I dont want users to be able to access the 'Options' selection. I have noticed that when I add the control to my form enabled, initially just the soft keyboard is displayed. But once I set enabled=false, then when I set it true again, the sip icon appears. Any help would be greatly appreciated. ...Show All
Software Development for Windows Vista Beta2 - Breakpoints in designer
Hi to all, When I set breakpoints on activities on design surface, they don't get hit (and display circle with exclamation mark during debugging session). However breakpoints in code behind of workflow break just fine. Thanks in advance. Hi Odul, This can happen if workflow debugger is not invoked. If workflow is a library and workflow host is a different application, you will need to mark the workflow ...Show All
Visual Studio 2008 (Pre-release) InvalidOperationException: open DataReader ...
Hi, I create an object, bind it to some controls, a user clicks 'Save' and the object gets added to the DLinq DataContext. A call to SubmitChanges() throws the exception. Is this a known issue Or am I just doing something wrong Thanks, Rana -- System.InvalidOperationException was caught Message="There is already an open DataReader associated with this Command which must be closed first." Source="System.Data" StackTrace: at S ...Show All
Visual Studio Express Editions Strings won't initialise
My program has been working for weeks. Today, two things happened: 1. The .sln solution won't open into VB.NET Express, so I had to re-associate the .sln extension with the program. 2. The program will not initialise strings to an empty string. For example: Private mystring as string Msgbox(mystring) This throws an error, saying the string is not initialised. But it works when I change it to: Private mystri ...Show All
