Software Development Network Logo
  • Microsoft ISV
  • SQL Server
  • SharePoint Products
  • VS Team System
  • Visual C#
  • Smart Devicet
  • Audio and Video
  • Windows Vista
  • .NET Development
  • IE Development
  • Game Technologies
  • Visual FoxPro
  • Windows Forms
  • Visual Basic
  • Visual Studio

Software Development Network >> nitinbell.ca's Q&A profile

nitinbell.ca

Member List

StarRrr
nhaas
cookieCutter
Werner Clausen
Misoullee
EWANAME
robhare
Karthick Sukumaran
SolveIt
ram888
csharpdevelopernovice
SivaS
Softwaremaker
perstam
moldau04
DiamondDavo
Lauri
tun
nitinbell.ca
REche
Only Title

nitinbell.ca's Q&A profile

  • Smart Device Development wm5 today plug-in dll (possible to use MFC?)

    hi, i'm new to smart device development and i have to develop a today plug-in dll in c++ for wm5. the app will display a tabpage control on the today screen with on-top dialogs showing details. it will show a dialog for user options as well. i know that the dll will depend on dllmain() as its entry point, and i know that mfc will provide its own dllmain(). that means it's quite no possible to use mfc to develop a today plug-in dll unless you copy mfcs80ud.cpp to your project and edit it. that's not what i want because i don't want to edit microsoft provided cpp files and make them local to my project unless it is really necessary. now the questions are: 1. is native c++ the only way to develop a plug-in dll for wm5 today screen my concern ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Fps is at ~60 all the time?

    Hello, I'm total noob with XNA so please bear with me :) In xna beta 2, designer is now gone, so to access IsFixedTimeStep I have to do this in code: public Game1() { graphics = new GraphicsDeviceManager(this); content = new ContentManager(Services); this.IsFixedTimeStep = false; } Problem is that it always shows fps at around 60 no matter what I do - draw some 3d model or just empty screen. I know I'm missing something simple here, please help.. Btw, I'm using one of fps code examples found on this forum, so I don't think problem is in fps code itself. Thanks, ErnisJ IsFixedTimeStep determines whether or not the Update call is made every Xth of a second or run continuously. What ...Show All

  • Visual C# PInvokeStackImbalance was detected

    Hi, I keep getting this error when I try to run my project from the IDE.This does not happen when running the exe. The details specify that the Stack Imbalance was detected in a third party dll which I am using. How can I fix this. Thanks, tribal A call to PInvoke function ThirdPartyDll!Namespace.ClassName.NativeMethods::ImageList_DrawEx' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature. It's because a Managed Debugging Assistant has detected an error. Since the error is in a third party dll you have to talk ...Show All

  • Visual Basic How do I do this? Threading?

    Ok I'm still relatively new to programming... I'm an aero engineer, and I'm trying to pick it up as quickly as possible, cause I've only had a few months to learn two languages to start programming a relatively complex aerodynamic program. So... Here's what I'm tyring to do, I've got a combobox event that does some work then needs to wait on the result returned from a radiobutton event that can't be done until after the combobox event has started. Where should I start Should I use threading And if so, I know what threading is, but programatically, I have no idea how to use it. I have several books, but they haven't been very useful in this area. Any suggestions I don't know if this solution will work fo ...Show All

  • .NET Development Need help understanding dynamic DLL loading

    Hi all, need some help with dynamic DLL loading. I am trying to create an application that will instantiate a class (from a DLL) at runtime. The type, exposed properties, and exposed methods of the instantiated class are known (inherited from a custom designed class). Using Assembly.LoadFrom([Path]) coupled with Activator.CreateInstance(type, param()) I was able to almost instantiate the class (for some reason I get an parameter error, will explain more). Unfortunatley the LoadFrom() will place a LOCK on the DLL and I am unable to replace the DLL with a newer version even after the application has been closed in the Debugger. The idea is that these dynamically loaded DLLs will be loaded and unloaded wehenever needed (similar to object in ...Show All

  • .NET Development Problem with delayed SSL Connections and HTTPWebRequest

    Hello, We have a Windows service that needs to do a simple connect (GET) to an SSL Server periodically. When the service is started, the first request always goes through fine. As long as the subsequent requests are within a short period of time (minutes), they go through fine as well. However, when a longer period of time has elapsed between connections (hours), the connections fail, giving the dreaded : "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.", with an inner exception of "Remote certificate was verified as invalid by the user." Here is a snippet of the code: Dim strConnectURL As String = String.Concat(strURL, " ", strContent) Di ...Show All

  • Smart Device Development Why Can not I connect the WM5.0 device by the remote process viewer and remote heap walker?

    For the first time, I installed the Visual studio 2005 professional Edition (VS2005) first and the the Windows CE 5.0 with Platform builder 5.0 later. I find I can connect the WM5.0 device with the remote process viewer and remote heap walker provided by VS2005 and all data can be obtained successfully. However, when I reinstalled my system by installing the Windows CE 5.0 with platform builder first and VS2005 Professional Edition later, I find I can not connect the WM5.0 devices with the remote process viewer and remote heap walker (the other tools are OK) provided by VS2005 although the Activesyn shows that the WM5.0 is conncected correctly. Anyway, all the remote tools provided by VS2005 can connect with the emulator. By the remo ...Show All

  • Smart Device Development Multiline button text won't work in CF2.0?!?

    Here's what I've got written: public class FormMain : System.Windows.Forms. Form { public const int GWL_STYLE = (-16); // HOPE THIS IS OK VALUE ! GOT IT OFF THE NET ! public const int BS_MULTILINE = 0x4000; // HOPE THIS IS OK VALUE ! GOT IT OFF THE NET ! [ DllImport ( "coredll.dll" )] private static extern int GetWindowLong( IntPtr hWnd, int nItem); [ DllImport ( "coredll.dll" )] private static extern void SetWindowLong( IntPtr hWnd, int nItem, int nValue); ... public FormMain() { int style = GetWindowLong( this .button1.Handle, GWL_STYLE); SetWindowLong( this .button1.Handle, GWL_STYLE, style | BS_MULTILINE); ... } private ...Show All

  • Visual Studio Tools for Office combobox in microsoft excel

    Hi, I noticed that you can add a combobox through data/validation in microsoft excel, however when you leave that cell, there will be no longer any indication that the cell has a drop down list. Is there any way to add a combo box in excel with the drop down indicator at all time. thanks The feature you describe is an Excel feature not a VSTO feature. Using VSTO and Visual Studio, you can create a custom Excel application that adds a ComboBox to a spreadsheet. The ComboBox's behavior can then be programmatically controlled. The behavior of the Excel validation list, on the other hand, is entirely controlled by Excel. Cheers, TC ...Show All

  • Windows Forms prevent clicks from being queued when form elements have enabled=false and Me.Cursor=WaitCursor

    All-- Please help. I want to prevent clicks from being queued when form elements have enabled=false and Me.Cursor=WaitCursor. Right now, I have the code below and everything works EXCEPT the fact that the clicks on the button when the GroupBox.Enabled=False are queued and are actually executed as soon as the GroupBox.Enabled=True is set. So, what can be done to prevent the queuing of those clicks Please advise. Private Sub Button1_Click( _ ByVal sender As System.Object, _ ByVal e As System.EventArgs _ ) Handles Button1.Click Try Me .Cursor = Forms.Cursors.WaitCursor Me .MainGroupBox.Enabled = False 'do some work Catch ex As Exception Me .HandleError(ex) ...Show All

  • Smart Device Development OpenFileDialog Filter capabilities for specific file names.

    Hi, I'm trying to use OpenFileDialog filter to filter both a group of *.txt files and a specific file using: OpenFileDialog1.Filter = _ "Specific File|SpecificFile.txt| Text files (*.txt)|*.txt" OpenFileDialog1.InitialDirectory() = "TextFileDir" OpenFileDialog1.ShowDialog() In the TextFileDir directory I have a large number of files. I would like to be able to execute the ShowDialog() with a specific file already selected (highlighted). It appears that the Filter only functions with the wildcard (*) for the filename and a specific extention. Is there a way to use OpenFileDialog to have a specific file pre-selected Hello Sab2, W ...Show All

  • SQL Server Rookie needs help with what to do after installation.

    Any guidance to get me off the ground would really help After you have installed what If you are talking about Visual Studio and programming... Examples are some of the best way to learn. Check out some of the VB/C# examples for the basic operations or some more robust examples as found in the Starter Kits . Also there are 101 Samples for Visual Studio 2005 which is a robust, initial development tasks to more involved tasks for winforms, web development etc. ...Show All

  • Connected Services Framework HelloWorld Sample problem

    Hi, I dont seem to be able to get the Helloworld sample working, whenever I press the createsession button i get a SoapFaultException. Checking the Application log gives the following Failure Audit error: Login failed for user 'Session-service'[Client: <local machine>] from the source MSSQL$SQLEXPRESS. A second error whose source is session gives: Error detail - System.Data.SqlClient.SqlException: Login failed for user 'Session-Service'. Do I need to give Session-Service an account on the SQL Server Looking at another thread from this forum I noticed that this worked for another user after they changed the authentication mode to mixed authentication mode, this didnt work for me. I then noticed that I c ...Show All

  • SQL Server CURSOR INSENSITIVE

    Hi, DECLARE MyCursor CURSOR READ_ONLY FOR Select statement it seems I could not use INSENSITIVE in this cursor declaration, how can I accomplish that this works DECLARE MyCursor2 INSENSITIVE CURSOR FOR Select * From sys.sysobjects FOR READ ONLY and here is the syntax for the DECLARE CURSOR via BOL for 2005, you can use either syntax: SQL 92 Syntax DECLARE cursor_name [ INSENSITIVE ] [ SCROLL ] CURSOR FOR select_statement [ FOR { READ ONLY | UPDATE [ OF column_name [ ,...n ] ] } ] [;] Transact-SQL Extended Syntax DECLARE cursor_name CURSOR[ LOCAL | GLOBAL ][ FORWARD_ONLY | SCROLL ][ STATIC | KEYSET | DYNAMIC | FAST_FORWARD ][ READ_ONLY | SCROLL_LOCKS | OPTIMISTIC ][ TYPE ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Record from microphone and play

    I am trying to find a way to record audio from microphone and play it back (VB. NET 2005 windows app). I found alot of ways playing WAV or MP3 files but couln't find anything about recording from microphone. Is there an easy way to record audio from microphone Thanks there is a great example in the DirectX SDK's on recording audio - in fact, a secret, one of my successful applications pretty much uses the DirectX engine to record audio to disk. I'll move this thread to the appropriate forums and apologies in advanced if I moved it to the incorrect subforum ...Show All

©2008 Software Development Network