Sayure's Q&A profile
.NET Development Deploying Windows app..weirdo (Registered Jit Debugger not found)
I have installed the dotnetfx.exe (v1.1) (dev using 2003) on a clients machine, and then the software (C#, using the sqlConn control and DataAdaptor),... on any other machine which has Dot net installed (dev env), all is fine,...but on the client's pc, (XP) no luck. Some CLR messagebox appears immediately, cancel and msgbox... saying "Registered Jit Debugger cannot be found" Help please nrogers@iafrica.com TIA Neal Lots of relevant hits on this Google query ... ...Show All
Visual Basic Cross Threading in General
Can someone answer me this question... I have programmed in VBA for years. It seems to handle directly accessing simple form objects without any worries about threads or cross-threading or whatever... It seems ( also ) to me, that this threading issue could be internally managed by the Control Class to some degree or another. Is there a good reason for this new Thread Issue that I am unaware of He he .. it's like being a real programmer .. once you grasp it, you'll never look back (maybe). What do you mean by 'freezing' What is Your whole app or something else If you post your current code, I'll have a look. Richard ...Show All
SQL Server Urgent!! SQL Restore problems
Hi, Can someone please help urgently. I have a number of databases that I have set maintenance plans for. I am trying to restore these databases by using a stored proceedure. It was successful on my testing server, but when i try it on the production servers i have an error: Server: Msg 913, Level 16, State 8, Line 1 Could not find database ID 65535. Database may not be activated yet or may be in transition. Server: Msg 3013, Level 16, State 1, Line 1 RESTORE DATABASE is terminating abnormally. If I do the following on the production machine it works: RESTORE FILELISTONLY FROM DISK = 'E:\SQL_TEST_Restore\CPROD_db_200608220410.BAK' restore database CPROD FROM DISK ='E:\SQL_TEST_Restore\CPROD_db_200608220410.BAK' ...Show All
.NET Development adding Window Media Player into IE Toolbar
Hello: I am facing a problem in adding a Window Media Player Control into IE ToolBar. I found a project written in C# on Code Project site that can add a text into IE toolBar. But I can't add the window Media Player into IE. The Project I found constitutes of 2 projects BandOjLib and SampleBars window Application C sharp where the development is happening in it. So what you do in SampleBars project will be embedded into BandObj Project after compilation and start without debugging both BandObj and SampleBars respectively. When I am adding the Window Media Player into TOOLBOX, then to drag it into window Form => it gives me this error: Assembly generation failed -- Referenced assembly 'AxInterop.WMPLib' does not hav ...Show All
.NET Development .Net Framework 3.0
Hello, I downloaded the .Net Framework 3.0 for my system, but i am unable to find any resource to integrate it with my Visual Studio 2005 Express editions. Can anyone guide Regards, Rahul have you tried downloading the orcas addin http://www.microsoft.com/downloads/details.aspx FamilyId=5A0AE4CD-DC79-4B12-8A05-B6195F89FFA2&displaylang=en however: Supported Visual Studio 2005 released (RTM) tool sets: Visual Basic Express Edition, Visual C# Express Edition, Visual Web Developer Express Edition, Visual Studio Standard Edition, Visual Studio Professional Edition, Visual Studio Team System Editions.* *Note: The Visual Designer for WPF is not currently supported on the Express ...Show All
.NET Development Connection woos ...
Just the other day I have not been able to connect to SQL Server 2005 Express Edition. NOTHING has changed. All I have noticed is that in the Surface Area Configurator the Local Connections only radio button it selected. So I try selecting the Remote radio button and Apply and Ok and then exit the Surface Area Configurator program and then come back in again and the Local Only is selected. Is this normal behavior Is Remote connections allowed or not How verify Thanks. Have you run the SQL Server Configuration Manager and under SQL Server 2005 Network Configuration verified that the TCP/IP protocol is enabled ...Show All
Visual C# using binarywriter.write with multiple threads
My application has multiple threads that need to send byte arrays at independant times. Will i run into problems if two seperate threads call the same method containing a binarywriter.write statement. Also i have two seperate methods that write to the stream. What happens if they are execute simultaneously. I didnt see anything about the write method being threadsafe. sample code: //called by multiple threads public int SendProfile( byte [] outgoingArray) { ... writeMessage.Write(outgoingArray); ... } //sent every second public int SendStatus(Int32 i_p_MessageID, Int32 i_p_SeqNum, Int32 i_p_SD_Status,Int32 i_p_SW_Status,Int32 i_p_SG_Status, string stripID) { ... writeMessage.Write(bSystemSta ...Show All
SQL Server Multiple selects on PArameter drop down
I have a parameter dropdown as USERID. I want a functionality that the user can selct multiple userid's to show more than one record as output for comparison purpose. How can i achieve this multiple select (i.e cntrl+click) within parameter dropdown. Thanks, Kiran. Hmmm... You could try changing the parameter type to string and make your data query use 'IN', then have the user type a comma delimited list. I haven't tried it, but you might be able to get it to work. Jarret ...Show All
Visual Studio Express Editions Windows Forms Designer Fails to Load
I'm having a big problem with Visual Studio Express. The designer won't load. I used to get this message: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. No data is available. Hide at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.GetValueNames() at Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.AppendWindowPanes(RegistryKey parentKey, ArrayList windowPanes) at Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.GetRegisteredPanes(String extension) at Microsoft.VisualStudio.Shell.Design.W ...Show All
Windows Forms create an exe application in vb.net2005
I want to create a tredictional Program file.exe that installs under programs. like we used to do in vb6 I have a module app I want to call from scheduled tasks to run at given times I have only figured out how to do the one click deployment. well firstly, in order to run your .NET developed application, the computer that will be running the application requires the .NET Framework (the correct version) otherwise the app will not run, this is why ClickOnce and the full setup installer is recommended for distributing and installing apps as it will do this for you. Next up, you simply create the task in Windows and point to the exe file. The exe file, if not using the ClickOnce/setup and deplo ...Show All
Visual C++ Simple problem adding control to CStatusBar
Hi folks, I've got an VC2005/SDI/MFC/DocView app. I'm trying to add a CProgressCtrl to the lower right-hand part of the status bar but it doesn't seem to be working (it's never visible). Here's what I've done: 1) Right-clicked "IDR_MAINFRAME" in resource view, clicked "Resource Symbols..." and added a new symbol called "ID_PROGRESS_PANE". I kept the default value it gave me (101). 2) in "MainFrame.cpp" I added "ID_PROGRESS_PANE" to the end of the indicators list near the top of the file. There are a total of 5 indicators in the list after the addition. 3) Right-clicked "String Table" in the resource view and clicked "Open". Added a new string with "ID_PR ...Show All
Visual Studio Express Editions Send text message to my cell
Hello I am wondering if there is a way to send a text message to my cell phone. I wrote a personal program and I am testing the ability to send myself a tet message. This is more or less for fun right now, but eventually my program will do periodic checks and send me a text message if needed. I have viewed some concepts that were mainly just the number@carrierdomain . I would like to do something similar to yahoo messenger, where you can send an SMS and just enter the cell number, for instance. Is this possible Thanks for any help esiboda, I think it is possible that you can send an SMS to your cell phone by entering the cell number. There is an article titled Sending SMS using NET through Web Se ...Show All
Visual Studio Tools for Office Strange behavior: RichTextBox
Hi, I am creating a .doc with VSTO2005. My document contains several Controls such as Buttons, RichTextBoxes, ComboBoxes, etc. which are generated at runtime. In some cases, I encounter the problem that a RichTextBox doesn't display the content (text) it should, but only displays a big red cross like this: \ / \ / \ When I click into the RichTextBox field (with the red cross in it), the following, weird message appears: “Windows Forms controls have been disabled because the document has been scaled. When zoom is returned to 100%, controls will reactivate.” But actually the zoom of the document hasn’t changed at all! Has anyone already encountered this problem Thanks fo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texturing using BasicEffect
Hi, Sorry if this question has been answered before, but i have searched the forum and nothing seems to work, i am new to graphics programming and was just trying the simple task of sticking a texture to a polygon without writing my own shader (not quite up to that level yet) when i try the code below using just the retail version of directX, all i see is a blank white polygon (so the vertex data gets parsed), when i run it using the debug version i get an InvalidCallException and the following debug data : [2688] Direct3D9: (ERROR) :Vertex shader function usage (D3DDECLUSAGE_NORMAL,0) does not have corresponding usage in the current vertex declaration [2688] [2688] Direct3D9: (INFO) :The vertex declaration is (Stream, Offset, Type, Method ...Show All
Visual Studio Express Editions Problems with the RichTextBox control
Hi there, I'm building a messenger client (not unlike Windows Live Messenger) for my own learning experience and I'm having problems with the RichTextBox control on my conversation form. It's all about formatting see, my first problem is, I want to be able to insert messages in different colours, among other things (such as font faces, but I'll cross that bridge when i come to it). I've tried heaps of different stuff, and no matter what I do, it always ends up either not working at all, or changing the colour of ALL of the text in the RichTextBox. The other problem I'm having is that when the messages get past the bottom of the box (and the vertical scrollbar appears), I have to manually scroll down each time something is said ...Show All
