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

Software Development Network >> Jan Sotola's Q&A profile

Jan Sotola

Member List

Matthew Schimmel
Archie
Gretzky99
Satyendra Gupta
Andy Rivera
asuleman
JustJF
RodRogue
chinta
David Li
ThompsonMcG
Sunlighter
Maksim Simkin
Sorin Solescu
saynotoms
james bond
ERPLink Chief Technician
Vp13r5
djellison
tonyheupel
Only Title

Jan Sotola's Q&A profile

  • Visual Studio Express Editions Is there a "Setup" project available in Express editions?

    Maybe a dumb question, but I have Visual C# Express 2005 Beta 2 installed on my computer but it seems like it doesn't have a Setup kind of project. Isn't it available in Express editions How else, except for the Publish feature (which doesn't work as well), can I deploy my applications Resorting to 3rd party software doesn't sound too good to me. Is it something wrong with my installation It would be a pity not to include in VS 2005 such a tool. Hi A.L. Forgot to answer your other question: Setup projects are available in in the VSTS SKU. -Patrick ...Show All

  • Visual C++ Send HBITMAP with CSocket

    Hi all, How can i send a HBITMAP through CSocket and then to receive it and convert back to HBITMAP or CBitmap and maybe to open/read the hbitmap with CFile in binary mode its also good, because I succeeded to send binary files. can I do that.. thanks. If you use an IPicture Control via OleCreatePictureIndirect, you can easily query for the IPersistStream interface and stream it out. The same way can be used to create a IPicture Control from a stream. ...Show All

  • Windows Forms Tips & Tricks in Whidbey - New Whidbey Enhancements

    The new version of Microsoft Visual Studio code-named "Whidbey", will be released soon. Some of the advantages for C# developers are  1.  Innovative language constructs 2.  New compiler features 3.  Dramatically enhanced developer productivity 4.  An improved debugging experience, and  5.  Developer productivity enhancements such as            a.  ...Show All

  • Visual Basic Module not maintaining form initialized

    I am having troubles with an application I've developed on a specific server.  I believe the primary problem is the server itself and have yet to see the application fail on any other server.  It's running on a Windows 2000 Server, .NET Framework 1.1.  We've tried reinstalling the framework 3 times with no success and I would like to see if anyone else has run into this problem. The issue is that I have created a form in a Module.  Whenever I try to access this form, it returns Nothing like it isn't initialized.  Originally I wrote it as follows:     Private mvarFormMain As New frmMain   &nb ...Show All

  • .NET Development Transaction Locking

    When I do a BeginTransaction() in ADO.NET then fire off a update command for example. UPDATE [t_Client] SET [ClientName]='Sample Name' WHERE [ClientID]=1 Where ClientID is the primary key. What kind of locking is performed Table, Page, Row How would I set it to be row locking. You may be asking why not lock it inside the SP that performs the update and the reason is I have to update multiple tables using many different SPs and internal locking is not practical. When you start a transaction everything you touch is locked, typically at a page level of grainularity. The Microsoft SQL ...Show All

  • Windows Forms Binding Data in ASP.NET

    I retrieved data from a DataBase into a dataset. How can I bind a particular row to a TExtBox Hey Hey! you were really close!   It looks like you are talking C#, not C++ though... Here is what finally worked for me: DataRowView^ myDataRowView = (DataRowView^)indexBindingSource->Current; textBox3->Text = myDataRowView->Row[2]->ToString(); Good luck with your exams, T. Feral Cat (AKA "Stray") ...Show All

  • Windows Forms TaskVision client destroyed my PC!

    I've decided to repost this message as separate thread cos I don't think it's getting the attention I deserves.   Here's the problem... I installed the TaskVision client about a week ago, and immediately after started noticed weird things happening to my PC - suddenly lots of application were missing files.  I checked the Program Files folder where they wer ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. THANX

    Hi everyone, i'm making my arcade 2d engine using d3d9 sprites, particles ditto. I have a problem with creating the device. First of all i tried all the ways i knew to make the hWnd handler which i guess is the problem. Any ways here's my code for creating the device. /* dx9.pD3D is basically our d3d object d3dpp is presentation parameters and dx9.pd3dDevice is our d3ddevice object.*/ if( FAILED( dx9.pD3D->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hWnd ,D3DCREATE_SOFTWARE_VERTEXPROCESSING,&d3dpp, &dx9.pd3dDevice ) ) ) state = false; p.s. please give me a working source code for making a simple hWnd handler as well as the p ...Show All

  • .NET Development Process.StartInfo.Arguments

    I am trying to GET the arguments that were used to start a process (console app). But it always seems to be returning empty string. Is there a way to get the command line arguments that were passed to start a process Example: Lets say I opened "notepad" using a file name on the command line. Then I need a way in .NET to get the file name value that was passed to this process. string sProcessName = "notepad" ; foreach( Process oActiveProcess in Process.GetProcessesByName ( sProcessName )) { // Get the parameters passed to the process when it was started Console.WriteLine( " => " + oActiveProcess. ...Show All

  • .NET Development ADO.NET SQL query statement - VB version

    I seem to remember reading somewhere that ADO.NET Whidbey allows us to have a sort of parameterized text query.  In other words, I could use  CommandType.Text and say "SELECT * FROM myTable WHERE ID = ", but then have the paramater passed as a SqlParameter the way it would work if I had used CommandType.StoredProcedure instead of a text query. Am I hallucinating this   If not, can anyone point me to more info on it    This approach seems useful in some cases if it guards against SQL injection attacks the way that stored procs do.   I hate having 150 one-line stored procs for "delete by unique ID" opera ...Show All

  • .NET Development Assembly and Assembly file version numbers

    Hi everyone. Here's an email I recently posted to a respected guy at MS named Vincem ( http://blogs.msdn.com/vincem/ ). I'd like to post this same mail here to see what other people are doing with regard to .Net assembly version attributes. I'm doing a spot of research in an attempt to make an informed decision regarding versioning of .Net assemblies. I've read (and re-read) the blog entries you kindly posted ( http://blogs.msdn.com/vincem/archive/2005/04/01/404441.aspx ) as part of this research. It seems to me there is little consensus on whether to keep the assembly and file version the same or different for .Net assemblies. Looking at a ...Show All

  • .NET Development DataRelations Between Two Tables without using Dataset

    I have two datatables which i want to have a relationship. The Parent table is in the Vessels Usercontrol and the child table is in the Cargos Usercontrol. Is is posible to create a relationship between this two tables without using a dataset ...Show All

  • .NET Development DataSet Update() Method...has anyone seen it work?

    I've been working on this for several hours now and I just can't get it to work. Here's the idea...2 identical databases (one local, one remote). Fill dataset objects with the contents of the the same table from each database. I then clear the contents of the dataset of the local table data and use the Merge() function to merge the data from the Remote database table data into the local database table...then update the local database. Sounds easy right. Maybe i'm an idiot but I can't get it working. Mind having a look Public Shared Function SynchronizeUsers() As Boolean Dim ds_Server As DataSet = GetUsersFromServer() ...Show All

  • Visual Studio Express Editions Problem with docking

    I used toolstrip to make a toolbar, and i am trying to create it along the same lines as the old MicroSoft Office Desktop Toolbar, but cannot find how to dock the toolbar to the side of the screen. Any Help please Jeremy Try using ToolStrip s = new ToolStrip (); s.Dock = DockStyle .Left; s.Dock = DockStyle.Right; ...Show All

  • Visual C# real time paint

    how can i draw in real time a line on my form i dont want to paint it when the form is painted with the paint event is there another option And now the method that uses a thread: First we will need some variables in the class: // when this is set to false the thread that does the drawing will stop bool animateLine; // the color of the line and the color of the background Color lineColor; Color backColor; In the Form_Load event initialize the avove variables and start a thread: void Form_Load(object sender, EventArgs e) { lineColor = Color.Black; backColor = BackColor; animateLine = true; Thread ...Show All

©2008 Software Development Network