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

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

cimnik

Member List

Renato Sansevero
Prostetnic
Neill.H
tim2005
Erfan
Andy321432
monika
Heesh
rohinirohini
Paradigm
Rivendale
Sushanth
RAmber
hiobx
beginer_max
Jeffrey2793
Kunal Sarkar
INTPnerd
Jmarte
Streetsmart
Only Title

cimnik's Q&A profile

  • .NET Development get data from a stream

    Hi, i've done a little c# server that waits a stream(that contains 23 float numbers) and i can't get the floats numbers . I've looked for a properly method however i haven't been lucky. Exist any method (to extract from the stream the floats) that help me or How can i do it Thanks a lot. Given an arbitrary byte stream, you can wrap a BinaryReader around it and use the ReadSingle/ReadDouble methods to extract floating point numbers. For example: using System.IO; // In a method somewhere BinaryReader reader = new BinaryReader(someStream); float f = reader.ReadSingle(); double ...Show All

  • Smart Device Development Resource Files .resx

    I am developing a smart client for a Windows Mobile 5.0 phone. Although I have 4 years of .net experience most of it is for the web ( ASP.Net). Anyway, I want to swap images in a picture box when I click the control. I was thinking of storing the images in the .resx file of the app and then swap the images from that. Questions: Is that the way to do such a thing Am I correct in assuming that there is no real drive mapping in a mobile app How to I access the images in the .resx file once they are in that file Some sort of direction concerning any of these questions would make my day. Thanks in advance, Manville If yo ...Show All

  • SQL Server How to reset the identity counter on a table referenced by a FOREIGN KEY constraint?

    I know that TRUNCATE TABLE can be used to reset the identity counter, but it can't be used on a table referenced by a foreign key. Anybody knows how to do that Thanks. Hi, if you want to use truncate, you have to drop the constraints first, othwerwise you could use DBCC CHECKIDENT (jobs, RESEED, 100) to reseed you identity. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual C# Changing the Default Unhandled Exception Dialog

    Hi Everyone, Is it possible for me to customize the default dialog that pops up when .NET encounters an unhandled exception Thank you. You'll want to have a read through the following: http://msdn2.microsoft.com/library/system.appdomain.unhandledexception.aspx The default behaviour changed between .NET Framework 1.X and 2.0. What version of the Framework are you running your application on An unhandled exception means that your AppDomain (and hence your application) is going to get torn down. If you're running in the default domain (i.e. haven't created any child domains), I don't believe th ...Show All

  • Visual C++ MFC and ODBC connectivity

    Hi, For my project i need some sample codings for connecting Access database using VC++. I used a dialog based project and i dont know how to access the recordset. Pls help me friends. ur suggestions are valuable...... maan!, I think you are using something from the cave age, why not using ADO (ActiveX Data Objects) and OleDb providers (MSJet 4.0 provider) to connect your Access database There is still some support for ODBC but why not using better tools available and free!! You can import all you need to use ADO directly inside you MFC project, just add in your stdafx.h file the following lines and you will get access to ...Show All

  • Software Development for Windows Vista Final Release date of WINFX

    when microsft planning to release the Winfx. I wanted to know when the actual release of Workflow foundation will be happening. Hi, Lori You said earlier that " WinFX will be released at the same time as Windows Vista". Is it still the case now that vista has slightly delayed Thanks ...Show All

  • Visual Studio Express Editions GetDirectories problem/error

    I get the following error: The CLR has been unable to transition from COM context 0x1a01d0 to COM context 0x1a0340 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump message ...Show All

  • SQL Server Remove Grand Total in Pivot Table issue using asp.net

    Hi, I am trying to remove the grad total amount from the pivot table list with asp.net,programing. The data I called from cube, I have rows,columns and data axis values, when I place my measure in to data axis it autometically created sub total and grand totals, I want remove those. I could not found any property or method to remove that. Please help me on this. ...Show All

  • SQL Server SSMS Express: Create TABLE & INSERT data into table - Error Msgs 102 & 156

    Hi all, I have SQL Server Management Studio Express (SSMS Express) and SQL Server 2005 Express (SS Express) installed in my Windows XP Pro PC that is on Microsoft Windows NT 4 LAN System. My Computer Administrator grants me the Administror Privilege to use my PC. I tried to use SQLQuery.sql (see the code below) to create a table "LabResults" and insert 20 data (values) into the table. I got Error Messages 102 and 156 when I did "Parse" or "Execute". This is my first time to apply the data type 'decimal' and the "VALUES" into the table. I do not know what is wrong with the 'decimal' and how to add th ...Show All

  • Visual C++ How to handle header and footer in a report?

    Hi, I must first say that I only have a couple months experience in Visual C++. I've been reading a lots of books on the subject. Unfortunately, most of the time, the examples I could have on specific item was very "general" if I can say. With the other languages I'm using, I'm able to make reports with header and footer repeating on each page of report as well as an auto-incrementing page number, subheaders, subtotals/subfooters, etc. In all the documentation I have on hand, I unfortunately couldn't find any example of how to implement such report format. I would really appreciate if someone could give me examples or even ...Show All

  • Visual Basic Customize Print Dialog Box (VB.NET)

    I want to add a control to Print Dialog Box to let user select part of the image in a pictureBox to print. Is it possible to do that in VB.NET Thanks. No, you can't. At least not without re-writing the dialog box from scratch. The Print Dialog is a standard dialog from the Common Controls that ship with Windows. ...Show All

  • Visual Studio Team System DisposeMethodsShouldCallSuppressFinalize woes

    I've got a class that derives from a class that implements public void Dispose() and protected void Dispose(bool).  My class also owns a disposable field.  So, I've derived from IDisposable and implemented the Dispose pattern, taking care to have try/finally in Dispose(bool) where base.Dispose(disposing) is called within the finally block and GC.SuppressFinalize(this) within the try block (if the object has not already been disposed and disposing is true).  But, I get the DisposeMethodsShouldCallSuppressFinalize error.  I don't receive this error in other classes that either don't derive from a dispoable class. The foll ...Show All

  • Visual Basic SQL 2005 and VB.net 2005

    I have a question dealing with SQL and VB. I have been looking for a way to "Browse" my SQL for different Databases for useage in my programs. Is there something I'm missing dealing with a way to browse the SQL My app under Access had a dialog to select which MDB you wanted to use. I know SQL is Different, Need to get list of Servers. Now I want to be able to have the client select which server to use, and which database. I don't use the dataconnections within VB, as the database's could be on different machines ETC. Thanks Larry Gatlin Look around the Miscrosoft site for: SQL Server ...Show All

  • Windows Forms Help with Timer control

    I want to make my program wait half a second until it will continue and I don't know how can I do it. I managed to stop it for a second but I can't stop it for a shorter time. Please help Thanks vbasics and feline for your answers but the answer of vbasics workd for me. ...Show All

  • Windows Forms How to make the installer leave the app.exe.config file after uninstallation.?

    Anyone know that I'm using VS2005 setup project. Because the app.exe and app.exe.config are in the same unit in the installation. If i do that it won't remove app.exe too when uninstalling. I want ONLY app.exe.config left. Does anyone have other solutions Thank you ...Show All

©2008 Software Development Network