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

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

saaniok

Member List

Ham Selv
LM321
ultrabit79
Lugoff81
Dave Biggins
Steve Watts
mmikedm1000
Rajeev2006
rodc
Curtis_more
albertkhor
Vadim_Luk
kittadc
Steve65
KOLY
gajanand
DHass
hulle
Bob Torres
Vikas1111
Only Title

saaniok's Q&A profile

  • Visual C# why selectnodes method wont work?

    Hi friends am doing following to get nodes list from a xml file. it does not give me any error or gives me the nodes list System.Xml.XmlDocument doc = new System.Xml.XmlDocument(); doc.Load("c:\somefile.xml"); XmlNodeList entities = doc.selectnodes("SemanticModel/Entites") //this doesnot return anything. can you help plz following is part of my xml file <SemanticModel ID="Gc5212a1e-8db3-4d95-aaef-43202035958e" xmlns="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Description>Ctrl + Ls</Description> <C ...Show All

  • Visual C++ converting c++ stl strings --> Tchars? (NO MFC)

    How would I go about doing this Thanks! I ran into string problems all the time in unmanaged c++. You can use the cstring() method of a string class to get the c style string and then use the multibytetowidechar() function to put that c string into a tchar buffer. Its a big pain and maybe not efficient but it works if speed isnt of vital importance to you. I made a function to do it because I had to do it so many times. Granted my data was not thought out well at all. ...Show All

  • Software Development for Windows Vista refactored TimerService sample?

    The Beta1 to Beta2 changes doc states that the TimerService has been removed and refactored into the WorkflowSchedulerService. T he Beta1 TimerService and ThreadingService functionality has been refactored into the (new in Beta2) WorkflowSchedulerService and the (renamed) WorkflowPersistenceService. This has resulted in the following changes: o ThreadingService and SynchronousDispatchService are removed ; WorkflowSchedulerService is added o DefaultWorkflowSchedulerService replaces DefaultThreadingService o ManualWorkflowSchedulerService replaces ASPNetThreadingService o ...Show All

  • SQL Server Selecting Connection in Custom Destination Component UI

    Hi there, I am writing a Custom Destination component with a custom UI. The UI contains a combo box which contains the connection names of type “FLATFILE”. I also have provided a button which would create a new connection of type “FLATFILE” by making a call to CreateConnection method of IDtsConnectionService. The combo box gets properly updated showing the connections of type “FLATFILE” but on clicking on the new Connection button the application hangs up. Am I missing something or is there some other way to do it The function are the events handlers which are called by the UI. void form_GetC ...Show All

  • Windows Forms My data relations don't relate!

    Hi All, I have a dataset with a number of datatables. I have added relations to the data set. I then bind the data to my form but although values from the correct column appear they are not the related rows. Snippets of the code (its a little messy as I have been trying to get this to work for a fair while now): ' The tables -  ...Show All

  • Visual Studio Express Editions Problem link with external llibrary

    I am using VC++ Express to create a CLR Windows Form Application. I want to use a library already created (basically the Postgres library). But when I link with that library, I got the linking error LNK2031. Does anyone know if that's possible And if that's possible, what do I need to do to make it work. ------------------------------------------------------------------------------------------- Writing resource file... Done. Compiling resources... Linking... DBConnection.obj : error LNK2031: unable to generate p/invoke for "extern "C" struct pg_conn * __clrcall PQconnectdb(char const *)" ( PQconnect ...Show All

  • Windows Forms listbox issues

    I've had a problem with listboxes not firing the SelectedIndexChanged event. I tracked this back to what appears to be a bug in the ListBox class, where the Clear operation simply does not fire the event, although Remove/RemoveAt do. Is there any chance for a fix for this in the near future. I can provide details on this if necessary. Thanks This is probably by design, but I would agree, for the sake of consistency the event should be raised. As a workaround, you could call the ListBox method ClearSelected before calling  Items.Clear . This is not perfect though because in your SelectedIndexCha ...Show All

  • Visual Studio Express Editions Updating the database

    I am asking a pretty common question it seems. Yes, I did look and do see the existing posts/responses. My problem is that I am not seeing the database actually get updated with new data. It seems fine at runtime, but if I shutdown the app and check the Db it is not getting back to the table. I also added some code from one of those VB for dummies books to help check that the update worked and it claims it is. I must be a different kind of dummy, lol. As I mentioned, I have seen the numerous responses regarding this issue, so I am quite puzzled as to why this isn't fising my problem. I checked the "copy to output di ...Show All

  • Visual Studio Express Editions Which Data Type??

    Can anyone point me to a simple introduction to the data types in SQL2K5EE I come from an Access background and I am trying to get a hold of having MORE POWER!! :-) I just need a simple little explanation of the data types and what they're good for. Thanks in advance... Have a look at the following links... SQL Server 2005 Express Edition Documentation and Samples (December 2005) http://www.microsoft.com/downloads/details.aspx familyid=9697AAAA-AD4B-416E-87A4-A8B154F92787&displaylang=en SQL Server 2005 Books Online (December 2005) http://www.microsoft.com/downloads/details.aspx f ...Show All

  • Visual C# How to avoid resizing of Form with cursor?

    How to cancel form resize when trying to resize with mouse cursor. What to be done to cancel the action in Form_Resize handler. Hi, try this line: this . FormBorderStyle = System . Windows . Forms . FormBorderStyle . FixedSingle ;   ...Show All

  • Software Development for Windows Vista Changing Dependency Properties from Code

    Hi guys, as I'm getting always the right answers here - I have another "simple" one. When I change a dependency property of an activity in code the WorkflowDesigner is not persisting it because it does not "realise" that the prop has changed. No matter if I do it directly like activityinstance.Property = "string"; or through activityinstance.SetValue(Activity.PropertyProperty, "string"); This is different if I change the settings through the UI using the Properties pane. Question is - what function or property will cause the WorkflowDesigner to persist the workflow definitions ...Show All

  • Visual C# Progress Bar

    I have a progress bar whereby it should progress for every graph that is loaded.But upon executing the program, the progress bar will immediately hit 100 % even the graph had not been fully loaded. But my code is written such that the PerformStep is placed after the loading of graph. Please advice. Thanks for ( int i = 1; i <= load_graph; i++) { parent_form.flowLayoutPanel2.Controls.Add( new TrendChart (a , root_source)); parent_form.progressBar1.TabIndex = 0; parent_form.progressBar1.Maximum = 10000; parent_form.progressBar1.Minimum = 1; parent_form.progressBar1.Step = 2500; parent_form.progressBar1.Pe ...Show All

  • Windows Forms .Net Active X controls embedded in internet explorer - security considerations

    I am looking for a starting point towards understanding .net security considerations, and how they apply to .net ActiveX controls. The control I am writing works fine in the active X test container (albeit some other issues, see previous post)...  However when I put it into an html page and pull it up in internet explorer, I get a security exception&nb ...Show All

  • Windows Forms No API calls

    I'm working on a project that specifies "Functions cannot make use of, or “wrap” any existing API calls." Would this mean I can't use .NET framework namespaces  Please advise. Thanks. It typically means that you should avoid going out of your way to call Win32 API functions (such as when you would use the DllImport attribute to define  ...Show All

  • Visual Studio Team System TF30177: Team Project Creation Failed - Possible Solution

    I've found that by logging out of the server back to the main login screen, I can then go and create new Team Projects using VS.NET. However, if I log into my server using TFSetup, TFService or any other account, it fails. Hope this helps ...Show All

©2008 Software Development Network