rusold's Q&A profile
Windows Forms Create a Bitmap out of Printer Graphics Object?
My goal is to create a PDF file out of my drawing code. So I am trying to create a Bitmap out of the Printer Graphics Object which is not working. My code prints fine to the printer, but I cannot convert the printer graphics obj ...Show All
Smart Device Development How to get a list of all categories
Hi, I want to get a list of all Ctegories but cannot find anything about retrieving this infrormation. Has any one an Idea on how to do this in Pocket PC 2003 using POOM On WM2003 you would have to use the CEDB APIs directly. Open the object store volume and the database called "\Categories" then enumerate the rows present. On WM5.0 you can get them through POOM. Get the IItem interface for the required folder (e.g. Contact ...Show All
Visual C# AxSHDocVw
I am using .net 2005 which was upgraded from .net 2003 about 10 days ago. I did a Help.Check for Updates yesterday and now I cannot compile my project. I believe it did an upgrade of Office. In the references of the project I found that the reference to AxSHDocVw has been removed and Microsoft.Office.Core was inserted which does not have a reference to AxSHDocVw. Does anyone know a work around or where I can go to do research on this. I ...Show All
.NET Development COnnect to Sql using Web Service in VS2005
I have this web.config file and i want to add my connection string to that can i do that if so how do i access it Do i use the Web Configuration Manager or what <WebMethod()> _ Dim connect As String = new Web.Configuration.WebConfigurationManager("connstring") but i get an error doing this.....Please help me...thanks Check this one out http://www.extremeexperts.com/Net/FAQ/StoringConnectionString.asp ...Show All
Visual Studio How to add a path into 'Include' or 'Library' of VC Project with Programming.
I am trying to develop Add-In Application for VC project, supporting my libraries. When a user install this application, Visual studio should set environment of directory like 'Include' and 'Library' Path. I don't want my customer set these variable manually. I have tried how VS works for these variables with using FileMon and RegMon but I couldn't. Please help me. anyway thanks for reading this...... myguddy@nate.com Hi Guddy, You s ...Show All
Visual C++ reading binary data using fseek and fread
I'm trying to get computer model in C originally written for Unix to run under VC++. It to reads a binary input file with climate data (precipitation) for every time step (year). For every year 12 items are read (1 for each month). The first two years are read correctly, but for the third year only 7 items are read. After that, for some years the data is read correctly, for others not. When read with MatLab for example all years are read correct ...Show All
Visual Studio Team System No of tests running
Hi, I am testing one win form application. I have written unit test and I am calling this unit test in my load test to test the web services. I am running the load test with 100 users for 10 minutes. For 2 minutes only numbers of users are reached 100 and test is running for 10 minutes. But in test running counter for max column tests running showing as 20 only. Min column showing as 9. Question . ...Show All
Visual C# Tab move to button on another panel
Hi, I have panel. On this panel I have tabcontrol and button. In tab controls I have combos and buttons with tab index. So when I press tab it muved in same panel in tabcontrol. Now I want that when I press tab on last indexed control the focus will moved to button on parent panel. And after I click second time the tab it will move focus into the first control on panel in tabcontrol. So how can I do this I have tryed the keypress event ...Show All
.NET Development ILGenerator.BeginCatchBlock() & ILGenerator.EndExceptionBlock() emit unwanted 'leave' instruction
hi , i'm having problems with the Reflection.Emit.ILGenerator.BeginCatchBlock() and the Reflection.Emit.ILGenerator.EndExceptionBlock() methods. I've got the idea that BeginCatchBlock() is the correct way to end a try block aswell as serving to start the catch block - please correct me if thats wrong. The problem is that these methods are always emitting an extra 'leave' IL instruction that I do not want before they close the preceeding ...Show All
SQL Server This SMO transfer script doesnt transfer ?
Hello, this takes a lot of time but when I got to sql server management studio there are no objects there!! What am I missing private void button1_Click( object sender, EventArgs e) { Server sv = new Server ( "ESTACION15" ); Database db = sv.Databases[ "GescomDllo" ] ; Database db2 = new Database (sv, "PRUEBA" ); // db2.Create(); Transfer xfr; xfr = new Transfer (db); xfr.CopyAllObjects= true ; xfr.C ...Show All
Smart Device Development How to use Listbox in .NET framework
Hello Friends, Am new to .Net Framework, could anyone help me how to insert a text into a list box in button click event. Thanks & regards, Bharath. the following will at the "some text" to a listbox private sub button1_click listbox1.items.add("some text") end sub ...Show All
Visual Studio Express Editions Using "Enter" Key in a form
By default, the Enter Key presses the last button used on my form (a calculator). I need the Enter key to stop doing that and to run a procedure instead: If "Enter" is pressed DoSomething() End If Any suggestions on how to do this AND override its normal function Set the form's KeyPreview property to True then handle the KeyDown event: Private Sub Form1_KeyDown( ByVal sende ...Show All
SQL Server Executing an oracle stored procedure from SSIS
Hello, Is there an oracle provider out there that will let me invoke a parameterless stored procedure that is in a package in my Oracle source Better could that stored proc receive a prameter Still better, could I use a stored proc in a OLEDB source component and get the resutls from its only out variable (ref cursor) into my SSIS dataflow I haven't been able to get any of these basic functionalities working with either the Or ...Show All
Windows Forms printers
how can I get the list of all system printers I want to shoose one and to change ists properties or do a screen print thank you ! System.Windows.Forms.PrintDialog C# PrintDialog dlg = new PrintDialog(); dlg.ShowDialog(); VB Dim dlg As New PrintDialog() dlg.Sho ...Show All
Windows Forms CaptionText in DataGridView
hi all, I am using DataGridView in my form, I want to set some Caption to the Grid, to know the user what this grid meant for, In the previous version of the DataGridView i.e. DataGrid there is property name "CaptionText" for setting the caption to the grid, but i do not saw any such property in the DataGridView, can anyone tell me the way how to set the CaptionText for the DataGridView. Thanks in Advance -Ra ...Show All
