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

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

jetsetwilly

Member List

metalozavr
Kakurady
jibotang
InGyu Jeon
SnakeEater
Bryan Yoo
holger1
Dave Stienessen
Luke1981
PKetteringham
steve_nadir
.asim
Ray_in_NYC
steve thomas
WernerVN
Ivan Shumilin
MobileApps
Aeana
Rup
Julien74
Only Title

jetsetwilly's Q&A profile

  • .NET Development compiling c++ with codeDom

    i have a question please. is it possible to compile managed c++ code with the codedom interfaces, the one that you can compile the csharp code with thx. I don't believe that is possible but the folks on the .net dev forums could have more details. Thanks, Ayman Shoukry VC++ Team ...Show All

  • .NET Development socket not released

    Hi, I currently have an app that spawns a connection to server, the server requires hard IP and Port for both my app and the server itself. It then sends a command and disconnects. The problem is that I have to wait ~5 minutes for the socket to become usable again. I know that windows likes to maintain the socket for a few minutes. Any idea on how I can get around this. I call the socket.close() method when I am done sending my parameters. I tried setting socket.setSocketOption(SocketOptionLevel.Socket, SocketOptionName.DontLinger, true) but it does not seem to release the socket fast enough (still taking ~5 minutes) for me to s ...Show All

  • Visual C++ arrays and functions

    I have tried to find answers to the following problem but hasn't been able to find one: If I run the following program then it returns with a crash when it finish (The program should be very simple so that it should be possible to find the problem) #include <stdlib.h> #include <iostream> using namespace std; void test( int p[]); int main() { int p[1]; test(p); cout<< "the function returned the array p with values: \n" ; cout<<p[0]<<endl; cout<<p[1]<<endl; cin.get(); } void test( int p[]) { p[0]=1; p[1]=2; ...Show All

  • Software Development for Windows Vista workflowloadingfailed in asp.net

    web.config: < WorkflowRuntime UnloadOnIdle = " true " > < Services > < add type = " System.Workflow.Runtime.Hosting.ASPNetThreadingService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 " /> < add type = " System.Workflow.Runtime.Hosting.SqlTimerService, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 " ConnectionString = " Initial Catalog=wwf;Data Source=localhost;uid=sa;pwd=; " /> < add type = " System.Workflow.Runtime.Hosting.SqlStatePersistenceService, System.Workflow.Runtime, Version=3.0.0.0 ...Show All

  • Visual Studio Tools for Office Do sequence of actions as an atomic action

    Hi. Short question... Is it possible to somehow get Word to perceive multiple actions as a single step. I create a table, format it, inserts XML tags and so. This takes 141 steps according to the undo stack. This means that my enduser will have to press ctrl+z 140 times to undo this button click or hold it for some seconds... It would be nice if I could insert a single atomic step in the undo stack called inserted table or something. Best regardss Anders The Word Document type supports UndoClear, Undo and Redo methods but as far as I know that's it. http://msdn2.microsoft.com/en-US/library ...Show All

  • Visual Studio Team System Performance Profiling

    I've been testing various parts of Beta 2 and decided to give the performance explorer and profiling a go.  It doesn't work because I am running my Beta 2 on a virtual machine (I get a dialog that says it can't start vsperfmon and then a second dialog that says can't run sampling on a virtual machine). Why doesn't performance profiling work on a virtual machine Thanks. Bob. Short answer is that the VPC doesn't emulate all the parts of a PC that we need. See this blog post. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. LoaderLock was detected - Solved

    Hi, I have installed DirectX 9 SDK (October 2005) and Visual Studio 2005 RC1. When I try using directx classes for capture audio, I have a problem. The code i have wrote is: Dim d As DirectSound.Device Dim ds As DirectSound.CaptureDevicesCollection ds = New CaptureDevicesCollection For Each d In ds           Me .ListBox1.Items.Add(d.ToString) Next When I run the application I get error when creating new instance of CaptureDevicesCollection. The error is : LoaderLock is detected. The MDA message is: LoaderLock was detected Message: DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX ...Show All

  • SQL Server Remove "top of report" when published via ASP call

    Sorry the subject is a little vague! I am issuing reports via ASP pages. I inherited this setup from my predecessor, who has a cycling "Sales Board" that calls reporting services pages from a script. All other pages do not have the light colored band across the top in which you can add parameters, click the "View Report" button etc. I have now created a new report and this band is there - can anyone please tell me how I can get rid of it for the purposes of display The parameters are fed into the report from the ASP page. Thanks in advance Thanks John. I am using rc:toolbar=fals ...Show All

  • Smart Device Development Getting and maintaining an Internet Connection

    Well, here's the deal. I have a game built where 2 PPCs exchange moves through a server. So far, so good. The problem is that on some of my test devices need to make a psedo modem     connection (one is an AV6600 on Sprint). I need to do what Internet Explorer does, dial and then keep the connection open. The way I test now is to bring up IE and then I have 10 minutes of testing     before the connection shuts down, unless I go to IE and hit another site. What I really need to do is find out the Connection to use (Work, Internet...)     and then connect and then keep it open. Am wondering what IE ...Show All

  • SQL Server Using 2 connections and DB in a query

    Hi, this is proberly a really stupid question, but I am new at this, so here goes: Is it possible to use two connections in a SELECT, i.e. SELECT * FROM p WHERE pno IN (SELECT pno FROM sp) where p is from one connection, and sp is another. Why Well I am trying to stage some data, (my very first attempt at it), and want data from the foreign table where a date is higher than a date stored in my "settings" table located in my stage DB. I am not sure if I am doing this the "right" way, if not, advice is always welcome. Generally I could really use a "best pratice" tutorial on DW and SSIS. Hope the ab ...Show All

  • Software Development for Windows Vista Error Tooltip Glyph using WorkflowDesignerControl

    I am playing with the tutorial Lab 10, Embedding the Workflow Designer. I changed the PromptActivity to include [ Designer ( typeof ( PromptDesigner ), typeof ( IDesigner ) )] [ ActivityValidator ( typeof ( PromptValidator ) )] [ ToolboxItem ( typeof ( PromptActivityToolboxItem ) )] [ ToolboxBitmap ( typeof ( PromptActivity ), "IPML.ICO" )] public partial class PromptActivity : System.Workflow.ComponentModel. CompositeActivity [ ActivityDesignerTheme ( typeof ( PromptTheme ) )] public class PromptDesigner : ActivityDesigner class PromptValidator : CompositeActivityValidator ...Show All

  • Visual C++ Change Menu item text at Runtime

    Hi How do i change menu item text at Runtime in MFC Dialog based application. ///my code CMenu m_Menu,*p_subMenu; CString strMenuString; CString strTMP; m_Menu.LoadMenu(IDR_MY_MENU); p_subMenu = m_Menu.GetSubMenu(0); p_subMenu->GetMenuString(ID_ENABLE,strMenuString,MF_BYCOMMAND); strTMP.LoadString(IDS_MENU_DISABLE); if (strMenuString.CompareNoCase(strTMP)==0) { strMenuString.LoadString(IDS_MENU_ENABLE); } else { strMenuString.LoadString(IDS_MENU_DISABLE); } BOOL bChanged = p_subMenu->ModifyMenu(ID_MENU_ENABLE,MF_BYCOMMAND| MF_STRING,ID_MENU_ENABLE,(LPCTSTR)strMenuString); ASSERT(bChanged); ///////////////// ...Show All

  • SQL Server Where can I download the 'adventure works DW' sample database ?

    Hi, all here, Could anyone tell me where can I find the 'adventure works DW' sample database for the SQL Server tutorial projects Thanks a lot in advance for any help. http://www.microsoft.com/downloads/details.aspx FamilyID=e719ecf7-9f46-4312-af89-6ad8702e4e6e&DisplayLang=en ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Converting to DXUT - where does it handle mouse?

    Hello, I'm making a 3D game and I just converted my "game" to use DXUT framework so I dont have to solve many windows(lost device, reset...) related stuff on my own. I was looking for mouse handling and couldnt find any function which takes care about where user clicked. e.g. U have there like - change device, change REF, toggle FULLSCREEN...and you can activate it by mouse... I would like to make similar things that could be activated like that, but dont know where to put my code. Or shall I do it exactly at the same place as it is for "PICK" example where it checks for hit geometry in the program. Than ...Show All

  • Smart Device Development Arabic Characters

    Hi There, I need help on displaying arabic characters on .net compact framework 1 forms. Although the characters appear fine in the designer, when the application runs on the device they are not displayed correctly. They all come out as squares. I have tried saving the form using various encoding types with no luck. Any help will be appreciated. Thanks Tomasz You need a device with Arabic font(s) (e.g. localized Arabic device). If particular device does not have fontwith Arabic characters (like pretty much all non Arabic devices), you would see squares instead. ...Show All

©2008 Software Development Network