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

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

Hauri

Member List

Arun S
Dan Byström
Peter Haik
Eric Totten
AswinD
TarPista
Comandante Serge
vbtheo
Pilot_cir
betamark
PeterVrenken
dudeness
pinkybaby
zoffdino
JHurt
Warren Trotter
Bruxir
Handerson
David Sakhelashvili
Tim Mavers
Only Title

Hauri's Q&A profile

  • Smart Device Development splash screen help

    I did put a splashscreen in my appl. using the following code (vb.net) Public Sub Main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Splash screen call - version 0.01 Dim mysplashscreen As New frmSplashscreen If splashonce = True Then mysplashscreen.Show() End If splashonce = False splashonce is a boolean and the declaration is in public class form.main, and set to true. The splashscreen works, if I continue my navigation, and go to the second screen, and then go back to the main one, my splash screen comes up again. what am i doing wrong Take a look at this Geoff's msdn article on the subject: http://msdn.micr ...Show All

  • Visual Studio Express Editions c++ structure to vb net

    I have the following c++ struct: typedef struct { WORD idReserved; // Reserved (must be 0) WORD idType; // Resource Type (1 for icons) WORD idCount; // How many images ICONDIRENTRY idEntries[1]; // An entry for each image (idCount of 'em) } ICONDIR, *LPICONDIR; typedef struct { BYTE bWidth; // Width, in pixels, of the image BYTE bHeight; // Height, in pixels, of the image BYTE bColorCount; // Number of colors in image (0 if >=8bpp) BYTE bReserved; // Reserved ( must be 0) WORD wPlanes; // Color Planes WORD wBitCount; // Bits per pixel DWORD dwBytesInRes; // How many bytes in this resource DWORD dwImageOffset; // Where in ...Show All

  • Windows Forms DateTime format problem in SQL query...

    Hi! I have a DataGridView connected to a dataset and I 've already created a query which searches the entire database in order to extract rows with a certain date. The user enters the desirable date in a textbox. But there is a problem with the date format: I've found that when i enter the date in the following format: MM/dd/yyyy it works fine.But wherever i am using this format: dd/MM/yyyy Visual Studio generates the following error: ''An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll Additional information: The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value.'' Any help how to overcome this problem ...Show All

  • Architecture Hosting Long Running Batch Processes In IIS 6

    I am currently architecting a framework that will depend on IIS to host batch oriented code. The design will use a disconnected model with a controller (that lives remotely) and checks back periodically via an ASMX layer. When invoking the actual batch execution code the ASMX call will spawn as many threads as it is configured to run and immediately respond (hence avoiding any long running HTTP connection). I like the idea for a number of reasons, obviously I get to use a standard communication protocol to invoke the batch code across tiers and I can even incorporate standard load balancing routines. I'm also able to use the same communication end points to check back in on the threads as they are executing. There are also a number of o ...Show All

  • Windows Forms e.Graphics = picCapture.CreateGraphics();

    Hi, please take a look below private void pictureBox1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { e.Graphics = oldPicture.CreateGraphics(); } However, above scripts throw Exception "Property or indexer 'System.Windows.Forms.PaintEventArgs.Graphics' cannot be assigned to -- it is read only" How can I replace the graphics of pictureBox1 to picture1.CreateGraphics(); I think it can be done by turning into bitmap Graphics offScreenDC = picCapture.CreateGraphics(); Bitmap offScreenBmp = new Bitmap(this.width, this.height, offScreenDC); pictureBox1.Image = offScreenBmp; ...Show All

  • Visual C++ Hiding Formatting Marks

    While using the Visual Studio editor, I somehow managed to turn display of formatting marks (such as spaces and tabs) on and would like to turn this off. How do I do this Thanks. Shaker Thanks Jonathan, that was very helpful. Net search was completely useless for this question. Is this described in Help somewhere VC ...Show All

  • Architecture Multi-tiered Application with client Server Architecture

    I want to Develop a Multi-tiered application with Client Server Architecture. I have one server and many clients around 10 to 15 or even more than that. I have one problem. When some master data is inserted by some clients it must be available to all the clients and server application at the same time and if the other clients has already opend the master form then it also immediately updated when another clients inserting record in that master. Can any one give me solution for this problem. How to implement this in .net 2.0 Thanks in advanced Nayan  Thanks a lot. if i drope my idea for the any database and just use the SQL-Server 2005 as database.  can u think using SQL Server Qu ...Show All

  • Visual Studio Express Editions Create a UserControl

    I am following a tutorial on how to open a directory and show all the pictures inside as thumbnails. Below is the last paragraph so I thought, for my purposes, I would try to create a control so that I can use it in other programs in the future. I have now done everything I need, what I don't know is how to make it a dll so can someone show me how I compile it to a dll please You can use this control in any of your projects by adding the Thumbnail control source code to it. Alternatively you can create a UserControl project that contains the finished thumbnail control and compile it to a DLL. You may then either add the compiled user control to any of your projects as a reference or add it to your toolbox and use it in the Visual ...Show All

  • Visual Studio Express Editions Handling Multiple forms

    I have Form1 which is my main form and is a clone of the Free Cell game. When the game is won, I have Dim N As New GameWonBackground N.Show() The second form is a background on which I will display a 3rd Form which asks the user if he wants to play again, select a game, etc. In the Load procedure of the Background form, I call the 3rd form Dim W As NewGameOver W.TopLevel = False W.Parent = Me W.Show() I got this from another discussion on the forum and it works fine to bring up the 3rd form on top of the Background form. I do a couple other things in the Load procedure for the Background form such as set the pictures for the 4 kings in the correct order, but there are no other procedures or click ...Show All

  • SQL Server Remote Source and Destination Performance

    Given the following scenario, what kind of performance should be expected in transferring about half a million rows We are seeing about a 9 minute execution time. Is this reasonable for about 460,000 records moving from source to target, with 3 inner joins from the source Source: Server A.OLTPDB Target: ServerA.DataMartDB Server A is running SQL Server 2000. SSIS is running on a different machine, Server B. The reason for this is that we are distributing the SSIS package for use with a BI product built on SSAS 2005 and the requirements are such that the client could very well have the source OLTP database on a different physical machine than the data mart. My understanding is therefore that: 1. SSIS will do all of the hea ...Show All

  • SQL Server Trigger- dump 'inserted' table to temp table

    I want to pass the 'inserted' table from a trigger into an SP, I think I need to do this by dumping inserted table into a temporary table and passing the temp table. However, I need to do this for many tables, and don't want to list all the column names for each table/trigger (maintenance nightmare). Can I dump the 'inserted' table to a temp table WITHOUT specifying the column names You could do below: select * into #i from inserted select * into #d from deleted But what are you trying to do in your SP with this temporary table Can you explain what you are trying to achieve by calling one SP from multiple triggers You still have to know the columns that you want to operate upon ...Show All

  • Windows Forms Problem with DataGridBoolColumn in the DataGrid

    I am using a DataGridBoolColumn in my datagrid. I am binding a boolean column of the table to this. Right now it is displaying the CheckBox in the column. The problem I have is I have to select the DataGrid row first and then the CheckBox to select or unselect the CheckBox essentially making it a double-click to select/unselect a CheckBox. Is there a way to select/unselect the CheckBox with just one click Thanks Basani private void dgWP_MouseUp( object sender, MouseEventArgs e) { DataGrid.HitTestInfo hti = dgWP.HitTest(e.X, e.Y); try { if (hti.Type == DataGrid.HitTestType.Cell && hti.Column == 0) dgWP[hti.Row, hti.Column] = !( bool )dgWP[hti.Row, hti.Column]; ...Show All

  • Visual Basic what s smart client mean guys

    is the same as windows forms or is it something different Thanks Hi, yes, a smart client is [can be] a windows forms application, providing rich user experience, which can connect and exchange data with external data sources (e.g. web services), is offline capable (works also when no connection available, by for example caching data localy) and is easy to deploy and update. For broader, (MS') definition of a smart client, check the Smart Client FAQ on MSDN . Andrej ...Show All

  • Visual Studio 2008 (Pre-release) Threaded window with page.

    I've included a dumbed down code sample of what I'm trying to do below. I 'm building an loading screen with WPF. I need a window that contains an XAML page running on a seperate thread from my main application. While items load I would like to update a progress bar located within the XAML page. Basically I'm trying to do something like LoadingScreen.Open, do some loading, LoadingScreen.UpdateUI, do some more loading, LoadingScreen.UpdateUI, finish things up, LoadingScreen.Close. Periodically the application seems to hang once the call to close is made. I have recieved both LoaderLock and ContextSwitchDeadlock exceptions from time to time. I have possibly narrowed down the issue to the way I am sending the UI the data via the UpdateUI m ...Show All

  • Visual Studio Team System New Company/No Structure

    Hello Everyone, I have been a software engineer for several years. I have recently taken a position as a sr developer with a large company. The company has several large systems, none of which have any documentation whatsoever. Some of the team members are familiar with a strctured analysis and design but many are not. I have used the MSF for several years and have used the UML, ERDs and some process modeling for most of the projects I have worked on. Given this fact they would like me to partake in the implementation of this methodology and would like to do this with a new, very large, cross departmental business critical application. Given the current infrastructure, I have immense concerns for the project success and how I should pro ...Show All

©2008 Software Development Network