kpthekiller's Q&A profile
Windows Forms DataGrid Setting column widths
I am having trouble with the widths of the columns using the datagrid. I think I have followed the code examples but it does not change the widths. I am calling a function that changes the ColumnStyles. dataGrid1.TableStyles.Clear(); &n ...Show All
Visual Studio Express Editions Visual C# 2005 Express Edition...on Windows XP SP1
Hi, I'm looking for a way to install the VC# 2005 Express Edition on my Win XP SP1 computer. I can't upgrade becoz the SP2 doesn't work stable on my computer and with my ISP. Im forced to stay on SP1, is there anyway i can install the VC# IDE on my present pc.... The online installer i downloaded does not allow me to proceed until I'm done with the upgrading. Regards, Awaiting Reply, Dayson Pais Unfortunately not. Both the Express edition ...Show All
.NET Development Progress Indicator in Multithreaded Remoting Program
Hello Everyone, I have developed a Remoting Application. It has a Client and A Server hosted into IIS. My remoting Configuration is as the Rammer's BEST PRACTICE suggest for WAN. SingleCall, Server Activated and Hosted into IIS. My Client is a Web based application. My Remote Class Process the Users Request by using multithreading. What it does is, It create a fix no. of thread for first time and as a thread completes it Rai ...Show All
Visual Studio Express Editions Using .dll
Can anybody inform me if Visual C++ Express Edition allows to create dll and to use Thanks If you mean through the wizard, the answer is no. Only in larger editions. Nevertheless, you can still build general 32bit dlls by just setting the compiler option /LD your self. For more information on the /LD option, please take a look at http://msdn2.microsoft.com/en-us/library/2kzt1wy3.aspx If you meant MFC Dll, th ...Show All
Visual Basic How do you keep an VB app in the foreground
I have an app(1) that uses Runasdll to call another app(2). How cn I keep app(2) in the foreground while is is running Or use AppActivate method to reactivate the App1. If your trying to write a multi-threaded application you may want to check out the backgroundworker control in 2005 ...Show All
Software Development for Windows Vista How to treat endofstream when writing mpeg video decoer filter?
Several days before I finished a Mpeg2 vedio decoder filter, I rendered a mpeg2 media file. In the filter graph ,the splitter is Elecaid MPEG Demultiplexer, and audio decoderis Mpeg Audio Decoder ,then the problem is when the mpeg2 file is over the stop button on GraphEdit cannot become gray automatically.If I change Mpeg Audio Decoder for Moomlight Odio Dekoda, the problems doesnot exist.And some files I rendered have such problems ,some donn ...Show All
Microsoft ISV Community Center Forums Problem with deleting records
HI, I am using the following function to delete a record from sysDeptDef table which is not present in ups_new table. I have two rows for the same deptid but diff attid. when i use the delete command the two rows get deleted but when the loop executes it cannot find the deptid so it fails.can please anyone suggest me how to handle this situation. Dim CurrentLevel As Integer Dim CurrentDeptId As Variant Dim LevelUp1 As String Dim L ...Show All
Visual FoxPro Unexpected disconnecting of remote connections under VFP 9 SP1
I have problem with unexpected disconnecting of remote connections under VFP 9 SP1 runtimes (only under SP1 runtimes). For example, using _VFP object to access forms will cause this and I am analysing other situations. Using _SCREEN object does not cause this. Does anyone found this too and in what situations That I don't know about. I develop extensively in VFP and I am still running the 0.0 Release on my production application ...Show All
Visual Studio Team System How to create process templates?
I created a project and it only had MSF Agile. It created me some folders like reports, documents and other things In my company we use a folder structure and some templates of word documents, excel, and project files. We also use Enterprise arquitect Projects. Is there a way to customize the template projects I mean for example that when I create aproject it automaticallys creates some folders with my word templates inside it. &nbs ...Show All
Smart Device Development form paint event in C#
I have a thread in C# code that changes the currIndx int value every 5 seconds. But the line on my form remains the same. It is supposed to move every 5 seconds. The messagebox displays the right values but the same is not reflected for the line coordinates. private void Form1_Paint( object sender, System.Windows.Forms. PaintEventArgs e) { Pen skyBluePen = new Pen ( Color .Blue); skyBluePen.Width = 1.5F; Mes ...Show All
Windows Forms Image on button with FlatStyle.System
Isn't it possible to have an image on a button when it's FlatStyle is set to FlatStyle.System The image is showing correct when FlatStyle is set to both Standard, Flat and Popup but when I change it to FlatStyle.System the image disappears even&nbs ...Show All
Visual C++ windows.h not found...
WOW, I can't believe this information isn't easier to find. I downloaded and installed Visual C++ 2005 Express, and then downloaded and installed the Platform SDK SP2. NOTHING WORKS! The Directories are not found and there is no apparent way to set them. Apparently users have found a hack to make it work, but this is crazy. It seems like the first Microsoft person to install this would notice that it doesn't work an ...Show All
Visual Studio 2008 (Pre-release) Pressing arrow keys doesnt trigger the KeyDown event in a text box
Hi, I have a custom text box and I want to implement custom navigation for it. When the user presses arrow keys (Left, Right, Up, Down) or Tab key or Enter key, I want to capture the key down event and select another control in the window. But pressing arrow keys does'nt trigger the KeyDown event when the cursor is inside the textbox. How can I achieve that Thanks Gokul. ...Show All
.NET Development How to Order a DataGrid
Hi All How can I order my datagrid like I do in asp.net SELECT * FROM Tabla1 ORDER BY OrderId DESC Private Sub Form2_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load DataSet11.Clear() OleDbDataAdapter1.Fill(DataSet11) DataGrid1.DataSource = DataSet11.Inventario End Sub Best Regards try using a DataView as the datasource of your grid. DataViews ca ...Show All
Windows Forms Tutorial on writing to text files in notepad
Hi All! I am new to VB and this community. I am working on a VB.NET project for work where I need to be able to write data that is input by the user to a text file, and to do so every time the user clicks the appr ...Show All
