Varun Gulati's Q&A profile
Visual C# Parsing a string
Hello guys, i'm searching for an advice of how to parse a string. here is an example: --bla345"cool"but no-- And I need only the text double closed by ", which is 'cool'. My second question is about parsing multyline comments /* */. So if i have --bla bla /*nice thing */ alabala-- my target is get the 'nice thing' string away of the "sentence". Hope someone will find time to help me :) The first can be done with the Split() method of the string object: ...Show All
Visual Basic Unable to modify VS2005 Binding Navigator in the inherited Form
Hi! I put a BindingNavigator on a Form1 and set Modifier=Public. Then I created an inherited Form2. I put a BindingSource on Form2. But I cannot to set any value of inherited BindingNavigator because they are disabled. I need to set "BindingSource" property to the created BindingSource. Is it possible in other way than at run-time Stone Checked about this in Orcas march CTP and feature still absent!!! Hope Borland implement it in Delphi 2007. If so than we'll by their IDE. ...Show All
Visual Studio Express Editions how to locate and install RSS.GIF file for visual basic express edition?
The Microsoft Visual basic Express Edition online training talks about download a rss.gif file; does anyone know the loactionof this file so that it can be downloaded. Thanks the Ghost hi, in the same page lesson 12 download the code and install it ,it will creat a folder called msdn in Mydocument you will find the icons there in a folder which i don't remember its name hope this helps ...Show All
Visual Studio What are the limitations of the "Export Template" feature ?
Hi, I want to create custom templates for projects and items. I used the great "Export Template" feature but some limitations appear : - I don't manage to limit the scope of an item to a specific project (I tried to set the TemplateGroupID property of the project..., .vsi file...). - Set the build action of an item based on an item template. I'm afraid that it's really time for me to use another solution (the old school solution) : insert keys in registry, ..., no Will a solution be provided by using policy files Regards. Pascal No doubt about the functionalities provided by VSIP SDK. But I think that significant imp ...Show All
Windows Forms Is a seperate DLL required for Designer support
Hello- Some simple WinForms questions. 1) Whats the difference in the Toolbox between the "Components" and "Windows Forms" sections 2) If I Derive a simple class from the DataGrid and wish to have it display somewhere in the Toolbox and editable at design time - like the base DataGrid - must I compile it into a DLL Or can I simply add ...Show All
Visual Basic Gonna make me sound stupid
I know this is gonna make me sound stupid, but I have to ask anyways because I have no clue. I new at creating programs in Visual Basic. And I was wondering how to complete a program so that you can run it without having to open it with Visual Studio. For instance lets say that I wrote and alarm clock program for my labtop. Now how do I make the program so that it will work as a stand alone program without the need for Visual Basic Remember I'm new at this so please be nice. Full_Metal wrote: Ok, scratch that last one I figured out how to put a link. Now how do i tell it which form I want it to go to Also, is there ...Show All
Visual C++ error C2159
I had an error with the following code but I'm not sure what it wants me to do so if somebody could please help me with this error it would be appreciated. Error C2159. [DllImport( "winmm.dll" )] static extern Int32 mciSendString(String^ command, StringBuilder buffer, Int32 bufferSize, IntPtr hwndCallback); and the error message was: ------ Build started: Project: Timer Test, Configuration: Debug Win32 ------ Compiling... Timer Test.cpp c:\documents and settings\...\desktop\timer test\timer test\Form1.h(27) : error C2159: more than one storage class specified Build log was saved at "file://c: ...Show All
Visual Studio 2008 (Pre-release) How to convert xps documents to other formats, for example bmp ?
Hi, I have one question to ask. How to convert xps documents to other formats, for example bmp format Thanks! is that first method availabe in c or c++ Peter ...Show All
Microsoft ISV Community Center Forums Just gotta have a moan
Jeez this is the pits. I hate, really, really ,really hate, trying to anything at all via IE in W2k3. Nothing works ever. You cannot visit a website without it moaning. You cannot turn off anythinhg without it turning something else on. Listen to interneat radio, you must be joking. Do some Microsoft e-Learning don't be silly you need Flash for that which IE has made sure you can never ever absolutely no matter what you try to do ,download it so your out of luck. You can never view your online bills cos they have javascript buttons and that is a complete no-no. Do not even attemt the help files to work round this as every time you searc ...Show All
Visual C++ basic input
hi everyone! i try to open a common text file. #include <iostream.h> #include <fstream.h> void main() { double sigRec[50]; ifstream dataIn("13_1.txt"); dataIn.read(sigRec,50); cout << sigRec << endl; } here's my stupid questions; 1. everytime i try to run a program , they wil tell me that the Debug file does not exist. it seems that they will not build the Debug file automatically, so how do i build a Debug file 2. the codes above is one of samples that i learnt from a book. i had changed some of the criteria to my needs. in the above codes, i declare the sigRec a ...Show All
Windows Forms Can c# perform a CTRL+V
Hi all How can i get my program to perform a CTRL+V. (paste from clipboard) Thanks. Lars Do you want to get what is in the clipboard , if yes, use Clipboard class . ...Show All
Visual Studio Lost files
Hi sometime ago now at work I was logged onto a machine with my own user name, then the boss asked me to log out. Log on under his username (log on to Windows XP Pro), then I was asked to go into source safe, simply check in some of the files he had been working on. Then after that simply log off of windows XP and then back on using my username. Later on it was found that the checked out items to my boss weren't in source safe and were lost. Why would this be. In the past I have logged off of windows, let other people log on to my machine just simply to check stuff in they left checked out to them when they last worked o ...Show All
Visual C++ Problem Using ExitWindowsEx
Hello, after getting an answer about how to close the system, I have a different problem. I wrote the following code: #include "stdafx.h" #include <windows.h> int _tmain( int argc, _TCHAR* argv[]) { ExitWindowsEx(EWX_FORCE, SHTDN_REASON_FLAG_PLANNED); return 0; } I get the following errors: >error LNK2019: unresolved external symbol __imp__ExitWindowsEx@8 referenced in function _main >fatal error LNK1120: 1 unresolved externals With Thanks, Gal Beniamini ...Show All
SQL Server Change product key of SQL Server 2005
Is there any way to change product key after installation of SQL Server 2005 or must be SQL Server reinstalled. We have used wrong one for our customer because carelessness. Any problem if customer use product with old product key, but have a legal licence for product Hi, see if you can change that: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\ProductID HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Error MSB 3073
Hi , While trying to get latest version in msbuild from visual sourcesafe i am getting following error: Error MSB 3073: The command " ss.exe Get $/myproj/2.00 -R " exited with code 100. Please help me how to resolve this issue.. Thanks!! Nishant Hi Dan , Thanks for ur responce...Well earlier when I was running this through batch file there was no problem but it was giving error when i was trying it through msbuild. But now the problem has been solved. I run get latest version through visual source safe and after that I am not having problem...but i dont know the reason that why ...Show All
