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

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

Jean_2

Member List

BUET Freshman
noirs
cinamona
Wayner7
jimsch
erwin_m
Si B
Runtime05
toc996
K.Paing
Xenocrates
JBT3000
Jamesofking
Paradigm
Mike Henrickson
Madhurima
FREDYCOREA
Room222
murr
Roger Doherty
Only Title

Jean_2's Q&A profile

  • Smart Device Development Problem debugging simple application

    I'm having no luck getting my application to run on a Windows Mobile 5.0 device, so I thought I would try to create a simple project and test it out to narrow the error. Using the "New project" wizard, I select "Visual C++ | Smart Device | Win32 Smart Device Project". I then remove the "Pocket PC 2003" SDK and add "Windows Mobile 5.0 Pocket PC SDK". Finally, I select "Windows application" as the application type. The test application runs on the emulator, but when I try to debug it on a Windows CE 5.0 device (Intermec CK60), I get "Unable to start '%CSIDL_PROGRAM_FILES%\TestWinCE5\ ...Show All

  • Visual Basic math function

    Hi, I was looking for a Polar to Rectangular math. function but could not find it. Is there such thing Thanks, Dietmar Such a thing does not exist, however it is not too hard to do. Public Function RectangularToPolarMagnitude(ByVal pt As PointF) As Single Return CSng(Math.Sqrt(pt.X * pt.X + pt.Y * pt.Y)) End Function Public Function RectangularToPolarAngle(ByVal pt As PointF) As Single Return CSng(Math.Atan2(pt.Y, pt.X)) End Function Public Function PolarToRectangular(ByVal r As Single, ByVal theta As Single) As PointF Return New PointF(CSng(r * Math.Cos(theta)), CSng(r * Math.Sin(theta))) End Function ...Show All

  • Visual Studio Visual Studio 2005 SDK (December 2005 CTP) Released

    I installed this sdk but having trouble to get it to work with our package. The error message is "The object already has a CCW associated with it. Parameter name: o". Could anybody shine a light Thanks, Jillaint Hi Jillaint, Could you provide a little more information What exactly are you trying to do Do you mean that you rebuilt your package with the December SDK and now you are seeing this error Was this working with the October 2005 SDK  Can you determine when it is occurring Based on my glances through the VS 2005 source code, this seems to be an exception that is thrown in Mars ...Show All

  • Windows Forms Typed DataSet

    Hello, I have a Typed DataSet in My application. This derives firon DataSet Class. How can I place this DataSet in the toolbox , so that I can drag and drop it to any form in my application. Hello, I found the Solution. I just Selected my .xsd file in Solution explorer, right clicked and selected view design and I got what I was hoping to see. Thanks for your hint ! ...Show All

  • Windows Forms How to capture double Click event on combobox

    The ComboBox does not have a double click event. It does have a MouseDoubleClick, but that does not seem to work. I am trying to allow a user to edit the contents of a combo box by double clicking to open an edit screen in dialog mode. I have tried handling the MouseDoubleClick event, but nothing happens.  I have tried setting StandardDoubleClick for the form to true, but still nothing happens. Please help me. Dave Thanks for the hint. In a similar fashion in Visual Basic Dim mylastClick As Date = Now Private Sub ComboBoxPathologyTests_MouseClick( ByVal sender As System.Object, ByVal e As System.Windows.F ...Show All

  • Visual Basic best practices to support resolution changes?

    As a newcomer to VB, when I developed my application I didn't think ahead to what would happen when users had different screen resolutions. Obviously this was a major oversight and I'm wondering now what is considered the best way to handle the problem. I designed the application at a resolution of 1280x1024, utilizing most of the available horizontal space. I tried setting the AutoScaleMode for the form set to dpi, but this caused considerable distortion when changing to 800x600 resolution. If I don't allow the form to autoscale, then scroll bars appear when the resolution is decreased, a major nuisance for a user. So, what I'm looking for ...Show All

  • Visual C++ Simple dialog based app not working

    I'm thinking about moving from Visual Studio 6 to VS 2005. I've installed VS 2005 Beta 2. I've created a simple dialog based app, added a edit control with a variable, and added OnBnClickedOk function. In the OnBnClickedOk function I added the following code: void CTestAppDlg::OnBnClickedOk() {    UpdateData( TRUE );    AfxMessageBox( m_strMessText );    //OnOK(); } When I run the app the message box is empty. Any ideas what I'm doing wrong Thanks for the help, Brian I have just tried it on July CTP and it added this text. I guess, I am not sure wh ...Show All

  • Windows Forms Selecting multiple items in list box after retrieving the values from the database

    I have a list box in my form with selection mode property set to multiextend. I have no problems in selecting multiple items when the form runs and then storing the selection in the database. Now, in second scenario I want to display the information on the form for editing. In this case I want to be able to select the same items in the&n ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Beginning Managed DirectX (C#): Manager.Adapters.Default

    I just installed the December 2005 DirectX SDK, and am using Visual Studio 2005. I have a reference to C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll in my project. The problem: I've seen numerous tutorials doing this: int adapterOrdinal = Manager.Adapters.Default.Adapter; Which results in this compile error: Static member 'Microsoft.DirectX.Direct3D.AdapterCollection.Default.get' cannot be accessed with an instance reference; qualify it with a type name instead First, when I type in Manager.Adapters. Intellisense does not show a Default property. When I go to the definition of AdapterCollect ...Show All

  • Smart Device Development Deployment and/or registration failed with error: 0x80070070. There is not enough space on the disk.

    I tried building the camera API and got this error. I went and saw the space using Space Maker Storage (Flash) Storage Total: 27.98 MB Used: 4.60 MB Free: 23.39 MB it displays this. Please help me ------ Build started: Project: CECamera, Configuration: Release Any CPU ------ CECamera -> C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\Cs\Cecamera\bin\Release\CECamera.exe ------ Deploy started: Project: CECamera, Configuration: Release Any CPU ------ Deploying 'C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Designtimereferences\Microsoft.WindowsMobile.dll' Deploying 'C:\Pr ...Show All

  • SQL Server Move conversation

    when you move a conversation to a conversation group, that conversation_group has to have been created previously, ie, you cant specify a non-existing conversation_group, right I ask because I am trying to develop an application where I use optimally one conversation related to many given conversation_groups, so that when I receive, I lock only a small determined subset of messages. What I could have used was a way to send messages on a conversation, specifying a conversation_group_id. Any suggestions You're right, MOVE does not accept a non-existing conversation group. Note that BEGIN DIALOG ... WIT ...Show All

  • .NET Development How to using datatable to create a table in DBMS?

    How to using datatable to create a table in DBMS there is a difference between datatables and tables in DBMS. Datatables are in memory representation of data, they contain columns & rows, while Tables in DBMS are in the DB. The typical way to use datatables is loading data from the database (table) to the datatable and manipultating the data the way you like, then apply the changes back to the database (table). ...Show All

  • SQL Server Subfolders

    I know you can create sub folders in report manager, and then move reports into them. Is this a good idea since report designer cannot deploy to sub folders, and then you are left with deleting and moving, which throws off your subscriptions. Am I missing something Thanks! Here is what I have found out, however I have not done an extensive study yet. If you deploy a report to the root, you can use one of several methods to move to a subfolder. (Report Manager, etc) HOWEVER-If you have a report with the same name in the subfolder, you MUST delete it, thus invalidating the report id, which subscriptions and report history ar ...Show All

  • SQL Server Wait for Recieve Fails to recieve message when called from .Net sqlClient

    I have been building out an application and Service Broker has been working great but I have this one nagging problem. There are some scenarios that involve users waiting for a response so I call a stored procedure that sends a message on a service and then waits for a responses on the conversation handle on which it sent the request. When I call the stored procedure from a query window inside management studio it works perfectly. When I call it from a .NET application it times out waiting for the response.  If I set a long timeout I can see that the response   was returned and is sitting in the queue but the waitfor receive just ...Show All

  • Smart Device Development After installing final VS 2005 (MSDN) can't see the designer

    Hello fellow developers, I don't know if someone had the same problem but I hope that someone could help me with this issue. Until yestarday I had installed on my computer the RTM version of Visual Studio 2005 and yestarday I uninstalled everything (using the tool for the pre-rtm uninstall that worked fine and uninstalled absolute everything) and I install the final MSDN version of Visual Studio 2005. So far, so good. BUT when I tryied to create a new project for Compact Framework (both Windows Mobile 2003 and Windows Mobile 5), I can't see my current window in design mode. I mean, I see a gray form on which it's applied a menu shortcut (l ...Show All

©2008 Software Development Network