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

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

jakeysgt

Member List

BPM
danieldp
Akella
Qanuc
ISRA
Charlie Genge
Hans Kruiniger
Musa
Steve Cook MSFT
Mingxia
Paul-ish
knreddy
Mistweaver
mesh2005
Tom K
Asifkhan75025
StarCad
MQ
photek
kzu
Only Title

jakeysgt's Q&A profile

  • Smart Device Development Catch power button event

    I'm trying to understand what happens behind the scenes when a user hits the power button on a PocketPC WM 5.0 device. My goal is to capture/prevent the event that causes the device to go into suspend mode, prompt the user to confirm their action, then continue accordingly. I'm an ISV trying to guard against an accidental hit. Any tips Here is an excellent blog post by Anthony Wong about power events. http://blogs.msdn.com/anthonywong/archive/2005/06/07/426392.aspx Manav ...Show All

  • Visual Basic Simple Query about queries

    Hi all I have just created my first paramerised query the .net way and embarrasingly i dont know how to call it and fill in the parameters. The Query is named fillby1. I tried copying the walkthrough in help but this built this code for me which doesn't add in the parameter. Try Me .NotesTableAdapter.FillBy1( Me .OrganiserSQLDataSet.Notes) Catch ex As System.Exception System.Windows.Forms.MessageBox.Show(ex.Message) End Try Not sure of the names of your object but what you should have is something like this: Adapter.SelectCommand = FillBy1 Adapter.Fill(Dataset, Table) .... Me.Not ...Show All

  • SQL Server Error with for..next loop variable

    I'm setting a variable called ConnectionString_vc in a for..next loop.  The connectionstring property of one of my connections is then set to @[User::ConnectionString_vc] via an expression.  When running the package in a SQL agent job I'm getting the following error in my logs.  I've received this sporadically when running it in debug mode in BIS, but it happens consistently in Agent.  The variable "User::ConnectionString_vc" is already on the read list. A variable may only be added once to either the read lock list or the write lock list. Are you using that variable anywhere else Perhap ...Show All

  • .NET Development Controlling Garbage Collection?

    We have a .Net windows service running on a Windows 2003 64-bit machine whose main purpose is to cache Gigabytes worth of data and make that data available via remoting calls. Currently, the process uses 13.6 gigabytes worth of memory, storing data in three main Hashtables. The problem we're experiencing involves garbage collection. At 13.6 GB, the garbage collector seems to run about every two minutes, halting program execution for 30 seconds each time. This is a big problem due to the fact that we are going to have many client applications requesting data from this service at random times and we cannot have them time out due to the garbag ...Show All

  • Visual C++ Knee deep in warnings and errors.

    Hi Does anyone know if you can force the compiler to split warning and error messages between two different tabs. I often find that on some projects when there are many warnings/errors and the two are mixed, it can be a pain trying to scroll through so you can fix the errors first. If this is not possible, I think it might be a nice little tweak for a future release. Thanks. MNiM In Visual Studio 2005 you can pick and choose what appears in the 'Error List' tab. Along the top left of the Error List tab are three rectangles showing the number of errors, number of warnings and number of messages. Those thr ...Show All

  • Visual Studio Create a diagram by using custom code

    Hi all, I am trying to create a diagram by using some custom code but facing some problems. Not sure if I am on the right way.  I am first trying to create a "store" (Microsoft.VisualStudio.Modeling.Store). after that I am trying to create a new diagram ans suply it the new (empty) store by using code that looks like this: ServiceDescriptionDiagram diagram = ServiceDescriptionDiagram.CreateServiceDescriptionDiagram(store); I am getting an expection ("Cannot modify the store unless in the context of a transaction."). I tried to add the store to the transaction manager but this ...Show All

  • Visual C# Get public static members of class instantiated

    Ok, I have a base and a derived class. Each have static members. Why is it that if I call a static method defined in the derived class, all the static members of the base class and derived class are instantiated, but if I call a static method defined in the base class only the base class members are instantiated (even if I am doing the call by referencing the derived class) Is there a way to explicitly cause a class to instantiate all of its static members Because a call to Derived.StaticMethodInheritedFromBaseClass() is actually compiled directly to BaseClass.StaticMethodInheritedFromBaseClass(). Note that ...Show All

  • Visual Studio Express Editions Need Help to get a third party class working

    Hello, I’m absolutely new in c++ but I try write a programm to communicate with my Weather Station Interface. Normaly I use c# but it is so difficult to Handle this Interface that I decided to use c++ because there is someone who wrote a class to communicate with the Interface. I installed the vc++ Express Edition and the plattform SDK to use windows.h. But now I have a part of code where I get an compiler Error that is so "strange" that I didn’t understand it. Code: bool CWStation::ExecCmd(Command Cmd, char *Param) { int TryCount = TRYCNT; while (TryCount) { SendCmd(Cmd, Param); Sleep(50); if (RecvData() == 0) { ...Show All

  • .NET Development .NetIndia Group

    hai everyone... pls join this group for .net discussions.... post ur views,ideas about .Net,COM,COM+,SQL so that others in the group utilizes it and lern .net.U can also provide answers for for the doubts that is posted on the group... Let us all Join together and learn .net..... Groups URL is... http://groups.google.com/group/TechdotNetIndia Click and join.... ...Show All

  • Visual C++ create vertical bar

    how can i create a vertical toolbar in ( mfc ) like the verticla bar of outlook 2003  thanks Please take a look at any recommended MFC books or msdn help pages for learning such issues. If you have spcific issues after trying, feel free to post such issues. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual Studio Team System Custom Check-In Policy

    Hi, Is there any possibility to write my on Check-In Policy rules I would like to write my code analysis rules like I’d used to do it in FxCop and use them to check code every time developers send code to repository. Can I define Check-In Policy for all new projects that will be created on TFS in future (I mean, if someone will create new project, the Check-In policy will be automatically added to this project). Thanks, Dominik Chrzanowski Dominik, Regarding your first question, you can write your own Check-In policy. This policy will run on the client before the check-in occurs. I am not sure how you ...Show All

  • Visual Studio Error while checking-in in VSS 6.0

    In my .Net project (inside Visual Studio .Net) some files (.VB, .RESX) are not possible to check-in!! When try to do this, message is shown: "Error reading from file". Then it say, "file <VSS path for file> already exisits". None of these were NOT checked-out by me. When try to look for this in SourceSafe, clicking the folder which has those files says, "Error reading from file". I deleted one of these files from the project. And later readded. But still that file is shown (inside VS .Net) as checked out, and not possible to check in!!! What could be the reason and what is the possible solution Pls let me know. Thanks ...Show All

  • Windows Forms DataGridView DisplayIndex doesn't keep positions

    I have a problem with the DataGridView. I place a DGV on a form and add some databound columns. Then I add some non-databound colums. Then I re-order the columns in the column designer using the up-down buttons. Everything ok so far. But when I run the application, the order of the columns are shuffled. How can this be The only workaround so far, has been to set the DisplayIndex of each column in code. But I would expect the designed column order to stay as designed. Regards Claes Brandt This is a known "issue": http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=319362&SiteID=1 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Mesh draw not respecting depth

    Hello! I've created a small sample, drawing a few Box's with the Mesh class, just to get the feeling of DirectX. Unfortunally, the objects that appear on top - being most visible - are the one's that are rendered at the end, and not the one's that are farther away from the camera. Im sure i've missed something, but can't seem to find out what (Guess that's because its such a newbie question... ) Well, thanks for your atention. I can post the code if its of any use. Have you use any of the tutorials as starting point The first 3 tutorials don’t activate the z-buffer. Anyway you should check if you have set EnableAutoDepthStenc ...Show All

  • .NET Development Code to find out in x32, x64 or ia64?

    Hello, anybody knows a way to find out from C# what platform you are running on without having to go to the win32 api Thanks, JuanMi http://msdn2.microsoft.com/en-us/library/system.environment.osversion(VS.80).aspx ...Show All

©2008 Software Development Network