killahmik87's Q&A profile
Windows Forms DataGrid Checkbox: Immediate check/uncheck whilie clicking on it
Hello all, I am using Framework 1.1 DataGrid control to show a collection of rows. I have a check box column on the grid and need to check/uncheck immediately after the user clicks on it. I understand that when you are clicking on a row other than the one you are in now, it first navigates to the row you clicked. And you have to click second time on the check box to mark it checked or unchecked. Is there a way to avoid the 'second click' just to mark it I can imagine that to edit a text box, you need to go to the row first and edit. But for a check box the user expects it to be responding the moment they click on it. Any suggestions wo ...Show All
SQL Server Working with an integer array in a stored procedure
hi there, i need a procedure that works with C# e.g.: using ( SqlCommand cmd = GetCommand( "Procedure_Name" )) { //i=an array of integer values cmd.Parameters.Add( "@array" , SqlDbType. ! ! ).Value = i; cmd.ExecuteScalar(); } i need to write a stored procedure that takes as input an array of integers (amongst other values) this procedure must loop through every integer in the array and INSERT a new record into a table. i have never used T-SQL before. Many thanks You could do that but with not using a array type (which isn’t accessible in here), rather than using a string ...Show All
Visual C# c# to vb.net
What is going on. When c# first came out M$ was pushing users to move to that. Now I see an article that show that you can now translate c# to vb.net. http://msdn.microsoft.com/vbasic/default.aspx pull=/msdnmag/issues/06/02/PasteAs/default.aspx why does it seem like vb.net is being pushed so much more in the 2005 version. I just decided to move to c# from vb.net because of the following. 1.forced declaration of variables 2. told it was better language for businesses (reguardless that vb can do the same) 3. was told c# is more professional where vb.net was used more as hobbiest. 4. Pay is larger 5. Mor ...Show All
SQL Server sql server mobile 2005 and emulated storage card
Using shared folder in windows mobile 5 emulator, it is not possible to create a database (sqlserver mobile 2005) in the emulated storage card. The error "sql mobile made an unsupported request to the host operating system. Minor Err 25133 is raised. Reading or writing file from/to the emulated storage card occurs without error. Is this a bug of SqlCeEngine thank you vincenzo SQL Mobile does not support creating a database on emulated "storage card" for PPC 2005 emulators. Thank you! Syed N. Yousuf Microsoft Developer Support P ...Show All
SQL Server Report builder functions
Hi, Does anybody knows a good tutorial or link that handles all the functions of the report builder thanks Do you mean "functions" that can be used in a Report Builder formula, or do you mean general Report Builder "functionality" ...Show All
SQL Server Pakcage Execution Error under SQL server agent
Hi SSIS experts! I have been trying to schedule a package I design to run off hour, but unable to do so. Here is a strange issue: 1. I am able to run and excute the package successfully through VSS. After I finished designing all my flows and containers, my exceution was successful to all my data sources. 2. I was able to deploy and run the actual package by sending to my local file system and it runs successfully through Execute Package Utility. HOWEVER!!! when I tried to schedule this package through file system under sql server agent to run at night or through start job within SQL agent always failed... I am puzzled so I add ...Show All
Visual C# !!! IF MICROSOFT HEAR US!!!
I just saw another thread with "Can i make a app that doesnt use the .NET. The framework is too big 23 MB".. SO... Can Microsoft create a .Net Framework just for c# not for asp or j# or visual basic providing only the neccesary dlls Please!!!! Eh, the framework is for .NET; there are in my opinion no specific dll's for j#, vb.net, etc... The CLR uses IL, and C#, VB.NET, J#, and all other .NET languages are compiled to Intermediate Language. ...Show All
SQL Server ForEach Loop utilisation
Hello, ForEach Loop Item allow to make operations row per row. How can i do operations 10 rows per 10 rows or 100 rows per 100 rows Thanks ! Sorry... Those functions looks nice but are not made to my problem... I'm trying to resolve my problem with a transformation script to make a recordset containing rows in the correct format. If you want, i'll send you the script Nico ...Show All
Windows Forms AutoComplete TextBox From a Data Source
Friends, Anyone attempted to build an AutoComplete textbox filled with data from a datsource Since the autocompletecustomsource property only seems to support string arrays, I should be able to loop through a column in a table, create an array from the data and assign that array to the autocomplete source. Anyone tried this and could you post the code if available J.H. I found the solution..... The AutoCompleteCustomSource is actually a string collection as opposed to an array. You can itterate through a datatable and add items to the collection as follows: foreach ( DataRow dr in myDataSe ...Show All
Software Development for Windows Vista joining vista beta
how do i join the vista beta program i have been using cracked copies of vista for a while, but i am getting sick of using cracks and patchs, so i have been looking into how to join the beta program, but i have been having trouble joining. i am involved with the office 12 and windows driver foundation programs, if anyone can help me, that would be great. if anyone can help, please msn me on joelswatson@hotmail.com thanks heaps in advance Information is here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=238750&SiteID=1 ...Show All
Visual Basic How to: Query the Win32_NTLogEvent Class by User using WMI?
How to: Query the Win32_NTLogEvent Class by User using WMI Problem: Getting 'Invalid Query' Message when query by User. Help Please!!!!!! Below Code, and 2 good results when run 1 query. Code: Imports System Imports System.Management Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim scope As ManagementScope scope = New ManagementScope( _ "\\s211097\root\cimv2" ) scope.Connect() 'EventType '1 Error '2 Warning() '3 Information() '4 Security audit success '5 Securi ...Show All
Visual C# reading/editing html file
Hello, I am trying to read in an html file, and replace a custom tag with a string that will be generated from the application. I am guessing the way to do this has changed with .NET 2.0, as the books I have refer to FileInfo objects that are not being accepted by Visual C# Express. I would appreciate it if somebody could provide me with some sample code, or point me to some references on the web. Thank you Jon, Thank you for your reply. Everything works great. Thank you very much for your help, and for explaning "why" I should be doing it as you stated. It helped to make sense of everything. Thanks, Adam ...Show All
SQL Server upgrading MSDE with SP4
Hi, I'm trying to upgrade MSDE with SP4. I used the following in command prompt. setup /upgradesp sqlrun INSTANCENAME= MSDE1 SECURITYMODE=SQL UPGRADEUSER=sa UPGRADEPWD= 12345678 /L*v C:\MSDELog.log i got the message " Please go the control panel to install and configure system components." What does it mean How to upgrade it Thank U! Hi, did you consider this thread here for your problem: http://groups.google.de/group/microsoft.public.sqlserver.msde/browse_frm/thread/4b441544bc86d202 HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Express Editions starting another application with parameters
Hi there.. i want to start an application which name and path is stored in my.settings. so i use Process.Start(My.Settings.pfadname) when i execute my program and the filename in my.settings contains any command-line-parameters, vb tells me that the file doesnt exist.. so how can i make the programm start any other app using parameters Greetings Jan "JeriC" Eric Protected Sub CreateProcess( ByRef Filespec As string, ByRef Switches As string) Dim startinfo As New System.Diagnostics.ProcessStartInfo Dim Proc As New System.Diagnostics.Process startinfo.FileName = FileSpec ...Show All
Software Development for Windows Vista Alpha-Blended DirectX Overlay
Hi, I would like to create an overlay with a surface that overlays another surface. The specific application is to take the video rendered from a AX control drawing using DX, then create an menu overlay with another DX surface and have the menu alpha-blended over the video surface. So far I have tried a transparent dialog box, but the video underneith flickers as the region is invalidated. The overlay box fades in and out perfectly, but only when the overlay menu is completely faded out does the video stop flickering. I do not have control over the video surface, so I would like to do it as a seperate overlay surface. Any ad ...Show All
