DSV-Alex's Q&A profile
Visual C# height, width and percent
I know if i use percent in width or height, i'm referring to container object... My question is: if container object have 100% in width or height, is it useful put width/height = 100% in inner one if it's the only one inner object Es.: <table height="100%"> <td> <tr height="100%"> <div style="height ="100%"> <datagrid height="100%"> </datagrid> </div> </tr> ...Show All
Visual Studio Express Editions VB.net - sqlserver express demo application on cd
Hello, I wish to make a demo version of my VB.net express - Sql Server Express app. For this demo I would like to burn the proyect (.exe file) with the SqlServer Express user Database and other necesary files on a cd and then submit it to people interested. If they receive the cd and execute the demo.exe file the database should be copied to let's say 'c:\mydemo\' and if they terminate using the demo would ask the user: 'Delete demo Dat ...Show All
Visual Studio Express Editions Win32 Projects
Recently installed VC++ 2005 Express to create programs with the PSDK and DirectX SDK. Got a few linker errors regarding Win32 API functions that I tracked down to the fact that Unicode was set. Now every time I start a Win32 Project I have to go into the project properties and set Unicode to "Not Set". Is there any way to edit the project wizard to set Unicode to disabled from the start although it is possibl ...Show All
Visual Basic Run-time error 5 in English version XP
My software Chinese Teacher 2005 can run on Chinese version Win XP smoothly. However, some friends in America told me that it could't run on their English version Win XP and there was always a run-time error 5. Is there anyone whose OS is English version can do me a favor Could you run my software on your computer and tell me the result Thank you! ...Show All
Visual Studio Modify Designer Colors
I would like to create an addin that could control the designer's background color as well as the colors used for the different element types. Is this possible with the power toys framework One more thing, to elaborate on step 5 above - make sure that you close and reopen the development environment after you have enabled high contrast mode. Not all UI elements support toggling into and out of high c ...Show All
Visual Basic simply play music (midi, wav ect...)
How do you play music on form load just play music (from file) i tried Sub PlayBackgroundSoundFile() My.Computer.Audio.Play("C:\Waterfall.wav", _ AudioPlayMode.Background) End Sub didn't work hi can any1 help me to play wav audio file in Visual C++ thanks u a lot. in whatever way, please enlighten me. ...Show All
Windows Forms CodeDomSerializer and resx
Hi! I would like to store one property of my component in to the resx file of the Form that contains it. Is there a code sample somewhere that shows how to do it I found this: http://www.vbcity.com/forums/topic.asp tid=22348 But it is missing way too many things. I would really appreciate a generic pattern on how to save the values of objects storing binary data to the resx file. (should be in C# if possible) Thanks! Atmapuri ...Show All
Windows Forms dataset HasChanges
I am trying to use the haschanges method on a form. when a user enters an ID for the record in a textbox, I populate the form using: this .en_equipmentTableAdapter.FillBy( this .equipmentDataSet.EN_EQUIPMENT, equipmentID.ToString()); If the user closes the form I want to notify them of changes to the dataset, but when I break on the exit button (I will be moving this to the form.closing) it doesn't see any changes. here is ...Show All
Visual C# SQL SELECT statement
Hello. I have a problem with a SQL statement. When I run the app, I get a Line 1: Incorrect syntax near 'GEM'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near 'GEM'. Source Error: Line 86: ...Show All
Visual Basic Opacity Problems
The Opacity property on a windows form allows the form to look translucent. By looping through varying degrees of opacity in the form's closing event I have a form that looks like it is fading out. In VB 2005 I have been unable to replicate this. The problem is that when the form begins to fade, instead of retaining the form's look and colors, it turns completely black and then fades to lesser degrees of gray. In VB ...Show All
Windows Forms HTML Text Display ?
I'm receiving some text from a web service which contains HTML formatting tags eg. <b> for bold, but I want to display this in a Rich Client Windows Form. Is there any easy way to do this The only way I can see currently ...Show All
SQL Server FMTONLY, LONG Running ?
Hi There I have been running a trace for long running queries. I know what FMTONLY is, simply returns the metadata of the query. I have found something odd. SQLBatchComplete:SET FMTONLY ON SELECT SETID,FFIG_FIGURE_XX,(CONVERT(CHAR(10),EFFDT_XX,121)),EFF_STATUS_XX,FFIG_TYP_XX,PRCSR_CLASS_XX,SQL_SEL_TXT_XX,RUN_SEQ_AVAIL_XX,DESCR_XX,FFG_COLUMN_XX,FFG_VAL_COL_XX,LASTUPDOPRID_XX,LASTUPDDTTM_XX FROM PS_FFGDFN_XX_VW SET FMTONLY OFF. This performs 0 rea ...Show All
.NET Development .net Validators are not functioning on hosted website
Welcome All Hello . I m having problem with .net Validator control. These .net validator controls are functioning on http://localhost /................. but on www.website.com/ ........ it is not functioning. So reply me if you have any solution. Means when I run my application from localhost, validators works. But when I run my application from hosted site it doesn't. Your reply will be highly appreciated. Regard ...Show All
SQL Server Reports in Lanscape
I am using Reporting services with ASP.NET/C#. How can I change print orientation of my reports to "landscape" Thanks, Rohit ...Show All
Windows Forms How to iterate through a DataView
Hi, How can I get the number of elements of a DataRowView or an Iterator static private void print( DataView dv, string label) { Console .WriteLine( "\n" + label); DataRowView drv; for ( int x = 0; x < dv.Count; x++) { drv = dv[x]; for ( int q= 0; q < DRV.COUNT ; q++ ...Show All
