Software Development Network Logo
  • Visual C++
  • Game Technologies
  • Windows Forms
  • .NET Development
  • Visual FoxPro
  • SQL Server
  • VS Team System
  • Smart Device
  • Microsoft ISV
  • Visual Studio
  • Architecture
  • Windows Live
  • Visual Basic
  • Visual C#
  • VS Express Editions

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

Kartik

Member List

Kim
fagrnada
Jason Hales
Packiyanath
Henry_L
wgw4
Sharmila Vijayan
Tancev
vkuttyp
ChrisHelt
MurtazaMM
mtupker
Nilushan
Tim Power
Noddy
Joshua Scholar
Ivo
SauloMachado
heinz57
Ashutosh Kumar Srivastava
Only Title

Kartik's Q&A profile

  • Visual Basic Save file directories

    Hey all, Im writing a program that will allow users to save their work at any time by clicking the save button. When the application is launched/started up, the user can start a new job and select a directory to which there data will be stored when they click save. Currently while im writing my code, i'm using the same directory all the time for saving files just to see if it works. My question is this. When a user selects a directory for saving files at the launch of my program.. how do i update my code so that it will save to that location It will be a reasonably sized program when its done so there are a number of references to ...Show All

  • Visual Studio 2008 (Pre-release) Creating a button toggle animation (why are animations unable to be modified in WPF?)

    I set out to create a simple button toggle animation.  Click a button once the button's background color changes from purple to red.  Click it again and it changes from red to purple.  It's turned out to be really difficult.   First, animations don't seem to be modifiable.  When I try to swap the From and to Colors in code on a ColorAnimation WPF throws an exception complaining that the animation is 'frozen'.  I can't find a way to unfreeze the animation.  Another problem is that since the animation always seems to be frozen I can never even assign an event handler to its 'Completed' event to g ...Show All

  • Visual Studio Class Details window (MSDN bug ID: FDBK24857)

    I'm having a problem with the Class Details window. Click on the following link to see the corresponding bug details: http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx feedbackid=914d3c3f-efdd-41ed-8c6c-da5ed91f48db When I click on a class in the Class Designer, the Class Details window shows up, docked at the bottom of the screen. But when I click inside the Class Details window, it dissapears! Every time. I tried to reset all my settings, tried all different possible settings and even re-installed VS 2005. No luck! Please help Hello Joachim, As we mentioned in the ...Show All

  • Visual C++ Problem with a program I am writing...

    I am writing a simple program for a c++ course I am taking and can not seem to get my vector string to initialize correctly. Below is what my main looks like. void main(void) {  double dblResult = 0;  vector <string> strTestCase1;  //******************************  //* TEST CASE ONE  //******************************  strTestCase1 = {".....",    ".....",    "..B..",    ".....",    "....."};  cout << "TEST CASE ONE \n";  dblResult = WinPercentage(strTestCase1);  cout << "Returns: " << dblResult << ...Show All

  • Visual Studio Team System Can I create a label using MSBuild types?

    Can I create a label on team system source control before the build process using MSBuild (I am using VSTS Beta 2). <Target Name="LabelBuild">   <Exec Command="tf label Build050923 Trunk /recursive" /> </Target> Note that this is using the yet to be released Beta 3 bits where h.exe has been renamed to tf.exe. ...Show All

  • Visual C# please help understand this:

    public static List<string> GetImagesFromGoogle(string search) { string googleUrl = "http://images.google.com/images q=" + search; List<string> urlList = new List<string>(); string html = GetHtml(googleUrl); string regExPattern = @"< \s* img [^\>]* src \s* = \s* [\""\'] ( [^\""\'\s>]* )"; Regex r = new Regex(regExPattern, RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace); MatchCollection matches = r.Matches(html); foreach (Match m in matches) { //only return images from the search result (aka not Google's logo or ...Show All

  • Visual Studio Express Editions Designer view won't work!

    When I try to switch to designer view I get an error report dialog::: "Microsoft (R) Visual Basic Compiler has encountered a problem and needs to close.  We are sorry for the inconvenience." After the error report dialog, I get a messagebox that says "More data is available" I can still compile projects and they work fine, but I can not view the designer. I have tried reinstalling Vb.net express but the error still occurs. Anyone know how to fix this I figured it out... I was putting my Private Subs in the .Designer.vb module. Once I moved all my own code out of the .D ...Show All

  • Windows Forms binding does not work if the control is not displayed

    Suppose: * I have a class Name with two properties: FirstName , LastName . Both string. * I have a form with one TabControl with 2 TabPages, with one TextBox on each TabPage . * I bind an instance of the Name class on the Form's Load event. For each Binding object (one for each TextBox), I set the UpdateModes for both DataSource and Control to "Never" as I want the user to explicity click a "Save" button when he's ready to commit the information. Result of running this Form: * The TextBox of the visible TabPage gets bound very well, and displays the property value. BUT, the TextBox of the second TabPage remains blank. ...Show All

  • Windows Forms MeasureString versus MeasureCharacterRanges

    Adding textual features to a drawing program I tested the following code against each other. #if MCR StringFormat sf = new StringFormat(); CharacterRange[] rng = {new CharacterRange(0,s.Length)}; sf.SetMeasurableCharacterRanges(rng); RectangleF rct = new RectangleF(0,0,100000.0f,fnt.Height) Region[] rg = g.MeasureCharacterRanges(s,fnt,rct,sf); SizeF sz = new SizeF(0,0); if (rg.Length > 0) { RectangleF rc = rg[0].GetBounds(g); sz = new&nb ...Show All

  • Visual Studio Reverse Engineering – Auto Display Class Associations

    When you reverse engineer a project, i.e. show the class diagram, the inheritance tree is presented but class associations are not. It appears that you have to right click on the member variable or property within a class and indicate that you would like to show the association. Is there any way to have all associations shown automatically Wow this is awesome, just what I was looking for. Thanks very much. ...Show All

  • Visual C++ Vector: deque iterator not dereferencable

    Hi, i've got a problem with a stl vector, and i cant find any information about this error. the error is: deque iterator not dereferencable while (!Servers->empty()){ if (RequestServerInfo(&Servers->front())!=0){ MisScanned++; } else { if (DealWithServerInfo(&Servers->front())!=0){ //ERROR LOCATION MisScanned++; } after some debugging, i found that the error was at the DealWithServerInfo function call. however, i dont see why.. can anyone help. oh yeh, the time before this error occurs is different every time, somethimes its there in 2 secs, and the next time its there in 2 mins. ...Show All

  • Visual Studio Team System Style Dialogue Box Not Displaying

    Has anyone experienced a problem with the Style dialogue box You get to it either by clicking the ... button under the Properties pane or Format > Style from the menu. Every time I try to change the style, the dialogue box will display and quickly close in under a second. Clicking on it multiple times eventually results in VS2005 to crash. I have tried to uninstall and reinstalling but I suspect the uninstallation is not completely clean. 1. Does anyone have a solution to this problem 2. How do you completely uninstall VS2005 including all related files and registry keys I want to bring my system to a pre-VS2005 point so I can try to in ...Show All

  • Microsoft ISV Community Center Forums pls, help me to write a macro

    I got 4 columns, 3 of which should be indicators for the 4th column (I want the values in the 4th column to appear automatically depending on the values of the cells in the previous 3 columns). Here are the values which should appear depending on the cell values in the previuos 3 columns: * ZAO * * ZAO+SC * * * ZAO+SC * * ZAO+ * SC * * SC+ * other What macro should I write in this case maybe smth like: if A="*" and B=0 and ...Show All

  • Windows Forms Line Graphs in VB Forms

    Help, I would like to use the data entered in my form to be displayed as a line graph in another form. How do I create a XY Line Graph with a line going through my data points. You may also want to try the free chart control (graph library) from here: http://msdn.microsoft.com/smartclient/codesamples/windowsforms/default.aspx .  This was written by a member of our team (Dinesh Chandnani) and is what we (the Windows Forms team) use in many of our samples. Joe Stegman The Windows Forms Team Microsoft Corp. This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Windows Forms Extensive Debug environment in new Terrarium?

    Hi, I have spend lots of time trying to test my critter. It's so frustating and time-consuming to wait for the right situation to occur to test that piece of code you just fixed... I think it would be a great idea if you could setup a local Terrarium in some sort of debug (design ) mode. In this mode you'll be able to drag organisms arou ...Show All

©2008 Software Development Network