curiousEngine's Q&A profile
Visual C# My event is null ??
I have a problem, i created my own event for a class and when i fire it it says its null... heres is my code: i have my custom EventArgs its called PowerEventArgs: public class PowerEventArgs : EventArgs { private string mMessage; public string Message { get { return mMessage; } } public PowerEventArgs( string message) { mMessage = message; } } in other class of the same namespace im doing this: public class FuncionesNET : MarshalByRefObject { public delegate void PowerEventHandler( object sender, PowerEventArgs e); public event PowerEventHandler LoggedOff; public void ...Show All
Microsoft ISV Community Center Forums Distribute elements extracted from XML to ListColumns or Cells
Hi, people I'm already get the connection using MSXML, rather than winhttpRequest in VBA code. The response that I'm obtaining for while just is displayed in specific cells. Well, when I do a simple query it's all O.k, the problem comes when I need to access many datas (from ISBN numbers), in this case what I've got it's only one item. Or be, I can't view the others datas from others books.. I already saw something to work like J+1, i+1, but I'm new in VBA. I know the problem is on the end of my code. Could anyone help me Follows a part of the VBA below, For i = 0 To XML_Root.childNodes.Length - 1 ...Show All
Smart Device Development Configuring serial port
Hi friends, We are trying to connect our IR enabled mobile with PC. But while doing that the port selected by the device driver is changing at each time of connection. This is hard for us to program. We need to know how to configure the mobile always at one port.... your comments and views are worth for us. Bye. Cheers, Devi. The devices actual port really isn't important, in fact, whatever your programming the device with should already know the port of the device, even if it changes. Find the function that does that, asks the operating system which port the device is on and check that value in your code. Just for ...Show All
Visual Basic RichTextBox losing carriage returns...
There is probably a very simple answer to this, but I haven't found it yet. I've got an app with a RichTextBox bound to a column in a dataset. The text was input as fixed width formatted text (Courier like old DOS style formatting..) from a different application. When I run the app that text shows but it's lost the carriage returns. It just shows as one continuous string. Does anyone know how to get the RichTextBox to handle the crlf correctly Any help would be greatly appreciated! Jeff Are you sure the other app is including the carriage returns If you cut from the app and paste into notepad, Do you get the ret ...Show All
Visual Studio Express Editions Impossible to install visual studio 2005
Impossible to install visual studio 2005 because the "vs_setup_msi could not be opened", i tried with different versions of visual studio like c# or c++ 2005 (express or standart) & i've allways the same message & can't install it. Visual studio 6 is installed & works fine & i know they could work together. I tried to install framework 2 before, to uninstall it before; i also re-install dotnetfx & i had no beta or express previous install. I looked for topics about this problem everywhere (Google, Msdn, different developpers forums) but if i found a lot of people who had the same problem, i never find a solution. What can ...Show All
Visual Studio Visual SourceSafe 2005 Beta 2 installation problem
Hi, I'm experiancing a problem when trying to install this on Windows Server 2003. Each time I run the setup program I get the message "A failed installation has been detected. Press OK to uninstall the product. Then try installing." I click OK, and it goes to an uninstall screen, which validates the install order and then tells me it's uninstalled. It doesn't seem to remove the thing it's detecting though (If it's actually removing anything at all). As far as I am aware no installation of previous betas has taken place. There isn't any sign in the add/remove programs dialog. Any one have any ideas Hi ITfJ, ...Show All
Visual Studio Express Editions Interfacing with parallel port
hi, i need a help ,i donnt know how to program with with printer port by using C# 2005 Hi there, I'm not sure if there is a "nice" way to do this. I had a look in the namespace where I thought I could find something ( System.IO.Ports ) but all the items in that namespace seemed to be for Serial Ports rather than parallel ports. However, there is third party stuff that lets you do it. You can get a DLL (which you'll need to reference in your project, I believe) here: http://www.logix4u.net/\ And here's some write-ups on how to do the port interfacing thing with C#: http://www.codeproject.com/csharp/csppleds.asp http://w ...Show All
Windows Forms activate another form while close current form in VC .Net
If one use dialog.Show(), it will wait until the form activated closed then close itself. Borland C++ could allow you close the form and activate another form. How do we do it in VC++ .Net 2003 Thanks. ...Show All
Visual Studio Express Editions Get value from gridview column
How to get value (text) from gridview control in VB. textbox.text = (value in column2 of selected row in gridview) Try this..equivalent to VB.net string key = GridView1.DataKeys[e.RowIndex].Value.ToString(); ...Show All
.NET Development how to read .dbf file in Visual C#.Net?
I got sample of reading excel. can work. but cannot find the sample of reading .dbf (Dbase IV) file. how to read .dbf Hi Oliver, Do you know if your DBFs are created with FoxPro If you search for my posts you'll find VB examples of working with FoxPro DBFs that you can easily adapt to C#. You can use the CREATE TABLE statement to create DBFs. ...Show All
Visual Studio Express Editions Command line error D8016 : '/MT' and '/clr' command-line options are incompatible
I am an advanced level programmer of Borland C++Builder. Interested to try Visual C++ and hence evaluated VC++ Express. Honestly I am both pleased and disappointed. Pleased: For a programmer with zero experience using VC++ product, I managed to get my introductory project saved and compiled simply by way of self exploration. This shows despite VC++ is much more complicated than Borland C++ Builder in interface, it is still manageable. Disappointment: The subject error corped up and there is no way I can get rid of it. All settings change in the IDE seemed transparent to the command line options. I have already tried all permutat ...Show All
Visual C# Limit TextBox entry
How do I prevent a user from being able to entry non-numeric text in a textbox Are there textbox classes available that only accept integer values Hi I don't think there is a textBox to perfom what you what. The way I do it is to have a class that is going to validate all your textBoxes have a looksie at this class. ...Show All
Visual C++ VC++ Express Messagebox::Show() Coding Question
Hello all, I am trying to take the contents of a textbox, and display it as part of a custom message on a message box. I can display either my message, or the contents, but I'm having trouble getting both. I searched the help, but couldn't find an example. Thanks for any help. Here is my code (with explanatory comments): { // This code is from the button1_Click event. Clicking the button should take the // text from a textbox and display "You entered <insert textbox text here>" // Create a sting, assign contents of textBox1 String^ msgboxInput = textBox1->Text; // I need ...Show All
Visual Studio Team System Location of Source Control files
How can I change the physical location of the source control files. We don't want to keep our files on the same drive as VSTS. There don't seem to be tools for managing the Foundation Server. John Kane On the client, you can change the location of the files by changing the mappings for your workspace. After connecting to the Team Project, select File->Source Control->Workspaces.... Edit the Workspace you're interested in and change the Local Folder path in that Workspace dialog. The files will be moved the next time you do a get operation. On the server, there's no supported way to change the location of the Sour ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX: Where to get mesh data and textures?
I'm just starting to play around with Managed DirectX. Can anyone recommend a site to get free mesh data (.X files) or textures Or maybe free tools to model (simple) 3D objects Yea Milkshape is the way to go. I am not a "great" modeler, but Milkshape has tools to generate a nice terrain as well as basic 3d meshes like a torus, box, plane, etc... ...Show All
