rdmorgan's Q&A profile
Visual J# Erro with J# - Urgent!!!
Hi...Urgent... The following errors are occurring when we try to give one printing to print in the screen a consultation to the one bank SQL. This site that makes to the consultation this in IIS 6.0 and following errors is occurring. Somebody already saw these errors Erro com J# 2.0 - Exception of type 'java.lang.ExceptionInInitializerError' was thrown. Erro com J# 1.1 - Could not load file or assembly 'vjslib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. This post has been answered here. http://fo ...Show All
Windows Forms Combo boxes and Databinding
On a form, I have 3 comboboxes. Because of the nature of the application, they each hold the same information (Vascular Access Sites). the problem I am having is that when one selection is made, the selected items on the other two dropdowns are set to the one that is just selected. IE, on the first combo I select the 3rd item, & ...Show All
Smart Device Development What event is fired when using a Pen to select a Control?
Hi, and happy Easter all! I am creating a Forms application for a QTEK Smart Device and was wonder what event is triggered when I select a Control with a pen I can't seem to find a relevant event when searching through a controls event properties. Device: QTEK. CF: 1.1 Thanks Tryst Hi Andrew, I have tried the code you have given me, and when I run it I am getting an 'An Unhandled exception of type 'System.InvalidCastException' occured in the Windows.Forms.dll' I take it I can't do this method of casting an object of type EventArgs to a KeyEventArgs event... Tryst ...Show All
Windows Forms Designer support for embedded components
Hello, I have written a control. This control has an embedded component property. Example: public MyComponent:Component { .. // some properties here } public class MyControl:Control { public MyComponent embedded { get{...} set{...} } } The problem is now, that the changes to the embedded control property are not automatically serialized by the designer. W ...Show All
Visual Studio Rebootstub.exe
I ran the following command to try to figure out what this exe is for. C:\Program Files\Microsoft Visual Studio 8\Microsoft Visual Studio 2005 Team Suite Edition Beta 2-English\rebootstub.exe / It then came up with a prompt which didn't make much sense and I pressed "cancel". It looks like the exe then deletes itself. Interesting. Can anyone give me some info on what this file is for ...Show All
Visual Studio 2008 (Pre-release) NavigationWindow and Run-time parsed page
Hi there, my issue is that I cant navigate by NavigationWindow.Navigate to run-time parsed xaml page(by XamlReader). Page has no logic, just gui. Here is some piece of that: 1.XAML --------- <Page ....> <Page.Resources> <!-- Styles for layout here --!> </Page.Resources> <DockPanel> <Grid><Button></Grid></DockPanel> 2. C# --------- public class MyPage : Page { public MyPage() { // using of XamlReader - the second way used by Rob Relyea - used for testing word by word } } 2a. C# -------------------- public class MyNavigatio ...Show All
Visual Basic Process.Start unable to recognize < elemet.
I'm tring to pass arguments to Process.Start function, but some problem occured. Process.Start("xyz.exe","-a <C:\project\abc.txt") After I execute the above function, it the xyz.exe just hang as it just read until -a, and somehow ignore the "<" element. Is my code correct or this function do not take "<" as part of the input argument Thanks. Lennie This thread is merged and tracked at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=133748&SiteID=1 ...Show All
Windows Forms What is going on behind the scenes for Bitmap objects?
There is obviously a lot of stuff going on behind the scenes for Bitmaps that isn't discussed very thoroughly in the documentation. My latest problem with this is with an app where I draw a bunch of triangles at different orientations with various pieces of a source image on each triangle. To do this, I am using a TextureBrush to draw each t ...Show All
Visual C# How to convert textbox.text to string?
I have a couple of textboxes that I am trying to concatenate and I receive some error about that. Here's what I have. string strSummary; strSummary = txtFstName.Text + " " + txtLstName.Text; The error message is: Cannot convert from 'System.Web.UI.WebControls.TextBox' to 'string' Your help is appreciated. The TextBox.Text property is type of String, so this code can't have any problems. Are you sure you get this error on that statement The code doesn't give me any errors. ...Show All
SQL Server Combine two database
I have a two databse say DB1 and DB2 in sql server 2005 developer edition. Both Databases are completely different in structure(i.e nothing common) Both Databases contains Important Data. I want's to combine them into a new database named dbcombined.{provided that data remains intact}. How can I do That Then Also I have to deploy that db in other system what I have to do If objects are unique across databases, you may just use DTS (Import/Export Wizard) or SSMS to import one database objects to another database. But, if there are no real reasons, I would't recommend doing this at all. ...Show All
Visual C++ Use Native COM Servers with CRCWs ??
Hello Everyone, I'm trying to get this thing working for long time now.... I have read this article many hundred times now......without any use..... http://msdn2.microsoft.com/en-us/library/f31k2c87(VS.80).aspx ...... First Question : How to create a tlb file.......I add the COM component it adds as a Interop.something....Now when I try to say #import "something.tlb" no_namespace doesnt work.... Even I tried adding the Quartz.dll to my project and still that cant even find #import "quartz.tlb" no_namespace Can someone please explain the correct way to do it, rather then forwarding to different site ...Show All
Visual Basic Very slow speed on displaying controls in a form
How to improve the display performance on dynamics create controls on form load event The following code is very slow. Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .Location = New Point(0, 300) Me .Size = New Size(800, 300) Me .Refresh() Dim but As Button Dim x As Integer Dim y As Integer Dim bHeight As Integer Dim bWidth As Integer bHeight = 48 bWidth = 48 Me .SuspendLayout() For y = 0 To 4 For x = 0 To 14 but = New Button but.Location = New Poin ...Show All
Visual Studio 2008 (Pre-release) ItemSource - removing item from collection
Is there a best practice associated with removing an item from an ObservableCollection that is bound to an ItemsControl via ItemsSource The data template associated with the ItemsControls also has datatriggers bound to properties of items in the ObservableCollection. When I attempt to remove an item in the ObservableCollection, I get an exception. The item appears to get removed from the collection but the exception seems to be around the bound properties. I built a test project to verify your problem and things seem to be working fine (in the Dec CTP). Could you provide a more detailed ...Show All
SQL Server From DataSet To SqlDataReader in a CLR Stored Procedure
Hi all, I'm writing a CLR stored procedure that just execute a query using 2 parameters. SqlContext.Pipe.Send can send a SqlDataReader, but if I've got a DataSet How can I obtain a SqlDataReader from a DataSet Dim command As New SqlCommand(.......) ..... Dim ds As New DataSet() Dim adapter As New SqlDataAdapter(command) adapter.Fill(ds, "MyTable") ... 'manipulating the ds.Tables("MyTable") At this moment I have to send the table...but ds.Tables("MyTable").CreateDataReader() just give me a DataTableReader, and i can't send it with SqlContext.Pipe.Send(... Help me please! The DataSet.CreateDat ...Show All
Windows Forms Visual studio Start page
Hi, When I start visual studio, the start page opens as usual. When I select the internet resources tabs, it displays: 'This feature requires that you have previously connected to the internet or are currently online' I am online. How can I access the internet resources I don't have cable, so I don't think that's the problem. ...Show All
