Software Development Network Logo
  • Smart Device
  • Architecture
  • SQL Server
  • Microsoft ISV
  • Visual FoxPro
  • .NET Development
  • Windows Live
  • Windows Forms
  • Windows Vista
  • Game Technologies
  • Visual J#
  • Visual C#
  • Visual Studio
  • Visual Basic
  • Visual C++

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

JimBeanz

Member List

jhy
joe630330
Pawel Olszewski
aabi
chunkychanga
Ramachandran V
justindrocco
WmS
Phil Doucette
s_arun81
Ivan Ooi
Reen
preissen
Phil D Wilson
Xrystal
Jesper Persson
Jon Beschen
Satyanand
PedroMCN
CytoTech
Only Title

JimBeanz's Q&A profile

  • Windows Forms How to detect forground window using callback?

    Hey guys, I've been currently looking for some way i can get an API to tell me when the top window (with focus) changes.  I've currently using a Timer every 1 second to check if the window changes using GetForegroundWindow. but i was wondering if there is a callback that just waits till the forground window changes then tells me. Does anyone know& ...Show All

  • SQL Server Problem with Execute SQL Task

    I am having problems creating an "Execute SQL Task" which calls a stored procedure. I have tested the procedure successfully using parameters that I have hardcoded on the command line (i.e., EXEC procedure_name 1, 2). This works fine, but I'm having problems using variables(i.e., EXEC procedure_name @VAR1, @VAR2). I'm using a ConnectionType of OLE DB. When I parse the Query I get an error message that says "The query failed to parse. Must declare the variable '@VAR'". However, I have this variable declared and assigned a value. I have played around the Parameter Mapping pane but I'm not getting anywhere. Can anyone shed some ...Show All

  • SQL Server Reference Child Objects in a Report based on...Objects.

    Hello, I have an object that I consume for a Windows Forms Report in VS 2005. The Report displays all of the elements on the top level of the Object (FirstName, LastName, Phone, etc...) but when I attempt to pull items from one of the child objects, such as SkillName, VS.Net throws an error stating that: Error 1 The Value expression for the textbox ‘SkillName’ refers to the field ‘SkillName’. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope. The structure of my object is as follows: Person |_ FirstName |_ LastName - PersonSkill |_ Skil ...Show All

  • Visual Basic Help me converting simple VB6 code to VB.net

    Hi! This code is obviously VB6 code. Im desperately trying to get the width and height of an AVI file, and i found this code. This is the errors i getting. Maybe it will make things easier: error BC30802: 'Type' statements are no longer supported; use 'Structure' statements instead. error BC30678: 'End' statement not valid. error BC30828: 'As Any' is not supported in 'Declare' statements. error BC30002: Type 'AVIFILEINFO' is not defined. Can anyone help me out Private Const OF_SHARE_DENY_WRITE As Long = &H20 Private Type AVIFILEINFO     dwMaxBytesPerSec As Long     dwFlags As Long  &nbs ...Show All

  • Windows Forms howto create 32bit color ICON?

    please help how to create a 32bit color ICON from a bitmap,jpg,gif file   Well, I have to admit that I have very little artistic skill...  VS works well for me cause I typically capture a screen shot of an app with an icon I like, use a photo editor to paste the screen shot, and then create a 16x16 or 32x32 (or&nbs ...Show All

  • Visual Basic Updating Databases

    How do I prevent duplicate entries when working with ultrawingrid in VS 2005 I'm using a SQL database. I'm not fimiliar with ultrawingrid..but from a database perspective...a primarykey field keeps duplicate entries from being made.....so if I set up column 0 as a primary key field then the db will not allow any duplicate entires for that field. HTH ...Show All

  • SQL Server which is the most efficient query to find out the total number of rows in a table?

    which is the most efficient query to find out the total number of rows in a table other than using - SELECT COUNT(*) ... in query Why do you not weant to use the Count(*). I guess this is the best way to count the rows in the table. If it os too slow for you and you need immediate results rather than waiting for rleased locks you can get the *approximat* value with specific WITH(NOLOCK) after the table which you want to count. Sure this will count *all* even rows being involved in a transaction and might be deleted, but this would be a workaround. (In some cases you just need the approximat value.) HT ...Show All

  • .NET Development Can i convert ascx page (presentation) to XML style sheet (presentation) through code.

    Hi, I have an aspx page.I would like the presentation of the page which has data with some images to be saved as XSLT with same presentation as of aspx page. My aim is to save the content of aspx page with its GUI on local machine using XML. I surfed web but to no avail.I have to accomplish this task throug code only.Can this be done. Regards, Ashwin I have never heard about such tool. It may be not possible to convert arbitrary aspx page to XSLT. ...Show All

  • Smart Device Development Unable to sign assembly - 'No Provider Was Specified'

    I've been working on a .NET CF 2.0 project in VS2005 for a few weeks without any problems at all. Today, our IT staff switched our user accounts over to a new AD domain, and now when I try to build my project I get a strange error: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CompactFramework.Common.targets(42,9): error MSB3482: SignTool reported an error 'Failed to sign obj\Debug\MobilePDA.exe. SignTool Error: ISignedCode::Sign returned error: 0x80092006 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CompactFramework.Common.targets(42,9): error MSB3482: No provider was specified for the store or object. C:\WIND ...Show All

  • .NET Development VS 2005 OLEDB Update Parameter question.

    We have just upgraded from Visual Studio 2003 to 2005. In VS 2003, I had been working on some web pages that had datagrids populated from an Oracle database and had figured out how to update and insert records. I am now relearning everything for VS 2005. I have been able to get a grid populated, sorted, and updated. All of this with just the "visual" side of the IDE (no hand written code.) The current problem is updating a CHAR(25) field. If I replace a letter or space with something, it updates. But if I click at the end of the current text and add characters without deleting a corresponding number of padding spaces I ...Show All

  • SQL Server Error while importing Text file using Import Export Wizard

    Hi all i have text file where i can import it to excel to access or sql2000 without problem but when i import it using (sql2005 pro) i get this error message during the import O peration stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Success) - Prepare for Execute (Success) - Pre-execute (Success) Messages Information 0x402090dc: Data Flow Task: The processing of file "C:\Documents and Settings\Wail\Desktop\All_Alarm5.txt" has started. (SQL S ...Show All

  • Smart Device Development Hot to create web link with linklabel

    I create linklabel with text "Open myweb" How to click on it then open website in Pocket IE automatically Language VB You can add click event handler and launch PIE from it. ...Show All

  • Visual C++ GDI+ : Drawing objects over TabControl

    Hi, I've been working my way around GDI+ for a couple of weeks now. I made a little application where user can choose among several shapes and then move/place chosen shape using mouse, building this way a customized furniture set. The area where user can place each shape chosen is delimited by a panel control for which I defined the background color as having transparent. Everything is going smooth but... As second step, I added a tab control in order to have in first tab, the drawing area where use can place graphically each piece chosen and a second tab, the estimate or cost list of his customized furniture set. My problem is that ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. IDirectSoundBuffer8::Lock parameters

    If you set the dwFlags parameter of the Lock method to "0", how is this different from setting it to either DSBLOCK_FROMWRITECURSOR or DSBLOCK_ENTIREBUFFER Everytime I want to write to the buffer I use the DSBLOCK_ENTIREBUFFER flag value but that didn't seem to work and someone told me to try 0 for that paramter Any thoughts I need to lock a certain amount of bytes in the buffer and then write that amount to the buffer. As of now, the Lock method is returning a different address value for the ppvAudioPtr1 parameter, thus overwriting data that has yet to be played. Does anyone have any suggestions Thanks ahe ...Show All

  • Visual Studio Express Editions shutdown windows

    Is there any way of shutting down windows thru a form is it in the My.Computer listings please help Hi, The below link should be of help. Link: http://www.codeproject.com/Purgatory/AMR.asp If you think that your post is answered then please mark it as Answer. Thank you, Bhanu.   ...Show All

©2008 Software Development Network