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

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

Cortex

Member List

Matt Gutberlet
Display Name Not
Simon Jefferies
Thomas_Taylor
ybuzby
DraganAxo
Nikola Dudar - MSFT
DanPortugal
Yhert
exp
amol_16
Wade Waldron
CHABdesign
curtmack
Anonymous/
Jon Risbey
shaul_ei
Elmo
m.delara
LadyAmpherion
Only Title

Cortex's Q&A profile

  • Visual Basic Beep

    I am using some script to move around screens in an exteral application (think this is called OLE Automation), but the external app is quite slow to respond so when i have multiple keystrokes coded I get a 'Beep' until the app catches up! I can put a pause in the script, but the process I am running is quite long and a pause after every keystroke in extrnal app will dramatically increase the time required to run.  Therefore I would like to turn off the 'Beep' but not sure how to script it. Any suggestions Cheers It sounds like the beep is produced due to the keyboard buffer being filled ...Show All

  • SQL Server SQL Server express hangs installing on XP Pro

    After failing to get SSE to install on XP Home (and finding out that while support is claimed on the June drop it isn't there)  I upgraded today to XP Pro SP2.  I also removed all VWD, ASP.NET 2.0, and SQL components on the machine.  After the upgrade I made sure IIS was installed and working then tried to setup VWD again.  It got through the ASP.NET 2.0 install and the VWD install but hung on the SSE install when the progress bar was at 100%.  Before this was the same behavior I saw when trying to install SSE stand-alone and it was in the "Dectecting IIS" phase.   Once the hang occurs and I kill ...Show All

  • Visual C# WH_MOUSE_LL Abilities

    Is there a way I can use the LL mouse hook to capture other information besides which button was clicked For example, these are the events I'm wanting to watch for: Window State Change (Minimize, Restore, etc.) Which window control was clicked (Minbutton, Maxbutton, etc.) System Menu opened I know I can use the LL hook to find out which button was clicked and where the mouse is and such, but I'm having some trouble with the above information. Any help on this is very appreciated. --W basically I'm trying to write my own app to minimize other windows to the system tray. I'm using VC# Express ...Show All

  • SQL Server Windows XP SP2 (32-bit), Athlon 64 X2, SQL Server 2005

    I upgraded from a P4HT processor/mobo to an AMD Athlon 64 X2 platform and now, I cannot install SQL Server 2005 on this new build. Does SQL Server 2005 install to this setup Getting Windowx XP 64-bit IS NOT an option given how little hardware and software support currently exists. Short answer is: Yes, this configuration is tested and supported. With that said, I've made the following assumptions in my answer: You are running Windows XP 32-bit on your AMD 64 hardware You are installing the 32-bit version of SQL Server on your 32-bit OS Without seeing any error message you maybe receiving, ...Show All

  • SQL Server Database moved - How to change subscription of another user.

    I want to change a subscription that has been created by another user. I'am NOT an administrator of the server, but I've given me all Reporting-Services permissions (including systemadministrator). The logfile says that I have to be a member of the sysadmin-role to change subscriptions owned by another user. Thanks Benjamin I found out, that the problem appears when I move the database from one machine to another. All works fine, but the owner of the SQL-Server-Agent Job seems to cause the problems. On the source-machine it is ASPNET and on destination-machine its SYSTEM, when I manually change it back to ...Show All

  • Smart Device Development WM5 deployment error

    Hi. Just recieved this morning the first WM5 device that exists in the UK I believe. I love it! (trying to make the wifi work is tough...but anyway) I have VS.NET 2005 I have also installed the WM5 smartphone SDK. Problem I am having is this: When I create a New smart device project for WM5, I get a huge form on the screen, rather than the expected small compact form. Is this correct The form looks like the Pocket PC project. Other issue I have is that if I try to deploy the project using this project, It gives me this error: Error 1 The device security configuration disallowed the connection. Ensure that you have the appropriate c ...Show All

  • Windows Forms Minimizing process window in windows forms

    Hi, I have an MDI application that launches a internet explorer web page by calling iexplore.exe in a seperate process. I want to minimize the iexplore window on load. Is there a way to do this My code is as follows: Process p = new Process(); p.StartInfo.Filename = "iexplore.exe"; p.Start(); // Code here to minimize process I would think the&nbs ...Show All

  • Windows Forms datareader bind to datagridview

    hi, how to bind datareader to a datagridview without using datatable. thanks, Popskie   try this code,    cnn.Open();    cmd = new SqlCommand("s_Y",cnn);    cmd.CommandType = CommandType.StoredProcedure;    dr=cmd.ExecuteReader();    DataGrid1.DataSource=dr;    DataGrid1.DataBind(); ...Show All

  • Visual C++ How to do Unit Test for Visual C++ unmanaged code with Visual Studio 2005?

    I got the following words in MSDN Library,  "If your production code is unmanaged, it needs to be callable from a static library, an .obj file, or a DLL entry point. Class methods that are embedded inside an executable file or a DLL will not work because unmanaged Visual C++ does not offer the runtime discovery mechanism, reflection. Therefore, only the traditional native binding mechanisms will work. " Does this mean we still cannot do unit test for unmanaged c++ code, unless we use something like CPPUnit Does the "Dll entry point" mean a function with __declspec(dllexport) In C++, could n ...Show All

  • Windows Forms How to get all mouse clicks in child controls

    I have a parent user control. I want to capture all mouse clicks within the control, even if the mouse click is on a control within my parent control. How do I do this You can try and look for WM_PARENTNOTIFY and WM_MOUSEACTIVATE event. What I suggest you do is,create a WinForms Application and then change the property of the project to Console App,so that you can see the Console Window. In your user control, protected override void WndProc( ref Message m) { Console .WriteLine(m); base .WndProc( ref m); } you will see all the messages coming up in the Console.When ...Show All

  • .NET Development Garbage Collector and Memory Release

    When the garbage collector determines that an object is no longer required, does it actually release memory from the application or not I have noticed personally that starting another application leads to a drastic drop in memory held by managed applications. Does this mean that 1) garbage collection only takes place when there is memory pressure or 2) that garbage collection is internal to the application(only releases memory inside the memory already held by the application), and that memory release from the application back to the OS only takes place when there is memory pressure. NB: I think Microsoft need to come up with ...Show All

  • .NET Development Populate DataSet from CSV

    Hi there! I'm trying to populate a DataSet from a CSV-File. The CSV-File looks like: "Name";"Given name";"Department";"E-Mail";"Telephone" "Test";"Test";"Dep 1";" Test@Test.com";"+49  555 555 555" And my Code looks like this: string  strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + System.IO.Path.GetDirectoryName(strFileName) +";" + "Extended Properties=\"Text;HDR=YES;FMT=Delimited\"";   System.Data.OleDb.OleDbConnection conText =  new  System.Data.OleDb.OleDbConnection(strConnectionString); new  System.Data.OleDb.OleDbData ...Show All

  • Visual Studio Rotate a Report

    How do you rotate a report when sending it to the print preview I have a report that i want to rotate so it prints on the side Do anyone have an idee about this Reporting Services has no notion of rotating pages. If the PageHeight is greater than the PageWidth, then it is landscape, otherwise it is portrait. -- Robert ...Show All

  • Windows Forms c# getting crazy with a simple insert into....

    Hi all :) Here is my problem: myCommand = new SqlCommand("insert into myTable values("@field1")", myConnection); myParam = new SqlParameter(); myParam.ParameterName = "@field1"; myParam.Value = myTextBox1.Text; myCommand.ExecuteNonQuery();   Whatever i write in myTextBox1.Text, in database i obtain ever a "null". If i modify my insert like:"insert into myTable values('" + myTextBox1.Text + "')"; it work...but we know that it isnt a safe way to solve proble, thinking at sql iniection for example... So...a gentleman that show me where i wrong Thx in advance.   Konstantin Gonikman ...Show All

  • Visual C++ SOS:VC2005 B2 Express VC++ Directories Problem

    I downloaded and installed VC2005 B2 Express, I can't set "VC++ Directories". screenshot: http://member.netease.com/~lilong/temp/VS2005ExOpt.jpg is this bug this is a BIG PROBLEM!!   NNTP User wrote: ... 1. Create a directory "PlatformSDK" under "%ProgramFiles%\Microsoft Visual Studio 8\VC" 2. Copy the "bin", "include" and "lib" directory from the PSDK-installation into this directory. Then you do not need to change any config file. ... Thank you very much. I just encountered the same problem and found this thread. ...Show All

©2008 Software Development Network