-
- why migrate from PowerBuilder to VS.NET???
by NuclearNed
- 5 Replies
- Last post
by RWodabek
- If this is not the correct forum, someone please point me in the right direction. The setup: The company for which I work has a ton of legacy apps written in PowerBuilder 6.5, a product that was created for Windows 95. There has been an ongoing discussion for the past few years about a migration path forward. My immediate manager is a PowerBuilder diehard, mainly because she doesn't know any othe
-
- automation server can't create object???
by code bleu
- 1 Replies
- Last post
by code bleu
- i've a C++ COM object which i want to call in a js file using this method..
var controller = new ActiveXObject( "VCPlugin.VCPluginCtrl" ); //the arguments are the progID
i keep getting the error: the automation server can't create object ( COM object i want to create).
I've tried another approach by having the classid stating the classid in within the <object&
-
- should i need framework if i dont do any development?
by Umer Khan
- 1 Replies
- Last post
by ahmedilyas
- Could anyone of you tell me why I have .NET framework installed on my machine J
If I am not developing, do I still need it as a runtime environment for our daily use applications i.e. IE7, VSS, Adobe product, office etc
-
- displaying hexadecimal values with leading zeroes?
by Steve from adzac
- 2 Replies
- Last post
by Steve from adzac
- Hi,
I wish to write to a file some Integers in hex format. That is, if the Integer contains ten, I'd like to write A. Actually, I'd like to have some leading zeroes included...000A instead of just plain A.
theInteger = 10;
sw.Write(theInteger.ToString( "x" )) // displays 'a'
How can I force some number of leading zeroes I've looked at Help, but confess to getting lost in
-
- Data Access Problem on Transaction
by Muzaffar_Ali99
- 1 Replies
- Last post
by Jeff Derstadt - MSFT
- Hi I am importing data, i have looped the insert statement and opening the transaction
and commiting the transaction at the end of loop. The problem is i have a table 'tbl_hospital_patients' i am making its Id manually and read the last id generated based on some criteria and generate new id for the next patient.
The problem is when i am in transaction it does not allow me to read my table '
-
- How to catch Application Error ??
by logN
- 2 Replies
- Last post
by TilakGopi
- How to catch Application Error I want start the find.exe from System32. following code i written in C# process.Start(); // i am getting Application error in this statement I am not able to catch also . How to handle this errrr Why this error occurs How to achieve target thanks in advance. ---
-
- referencing PIAs from command line (vbc)
by emjay
- 2 Replies
- Last post
by nobugz
- Hi.
I want to write a standalone console application using command line compilation with vbc.exe. Can anyone help me with accessing Microsoft.Office.Interop.Excel. We'll assume users have that assembly in their GACs. Vista is my OS. This answer has been eluding me in my searches through the msdn2.
Many thanks.
-
- XML Data File Association with .XSD schema
by Philip Borchert
- 5 Replies
- Last post
by Stan Kitsis - MSFT
- I am a newbie to the world of XML. I am working through a example I found at: http://www.samspublishing.com/library/content.asp b=Net_2003_21days&seqNum=136&rl=1
I realize that the example is for 2003, and I just wanted to try it in both the 2003 and 2005 IDE. The 2003, when I associate the XML file to the schema it adds the line, however associating it in 2005 does not do anything
-
- Interopelabilty problem. Pasing an unmanaged C++ char* to a c# string.
by TonyCool
- 10 Replies
- Last post
by TonyCool
- Hello I'm writing a DLL that allows me to exchange information between unmanged C++ applications and managed C# .net applications. Now the problem that I have is that I can only pass simple types (int, char) trough the DLL boundaries. I need to achieve at least the following functionality: To pass a char* from C++ to C# my code look like this:
//not working C++ unmanaged code
extern &q
-
- CLR Debugging Services - need help please!!!!!
by poker_paul
- 2 Replies
- Last post
by poker_paul
- Hi All
I received this debugging error while trying to run an app today.
Application has genereated an exception that could not be handled.
Process id=0xc90 (3216), Thread id0xc9c (3228).
Click OK to terminate the application.
Click CANCEL to debug the application.
Has anyone got any ideas what the reason for this error could be
-
- http download
by MiteshSura
- 3 Replies
- Last post
by Indian Ocean
- dear All ,
I am trying to download a file from Web Server to my local machine.
I am using .Net Framework 1.1 and Visual Studio 2003
this is snipet of code I have used.
private void Button2_ServerClick( object sender, System.EventArgs e)
{
string connString = "Data Source=cdodev;User Id=security;Password=security;Integrated Security=no;";
OracleConnection con
-
- Could not find installable ISAM.
by Little
- 14 Replies
- Last post
by Little
- I got the "Could Not find installable ISAM error" while uploading an Excel file in my application. The connection string uses the Microsoft.Jet.OLEDB.4.0 provider with following parameters Provider=Microsoft.Jet.OLEDB.4.0;Excel 8.0; Extended Properties=HDR=No; IMEX=1.
I checked the registry entries as mentioned in the "Retrieving Data from Excell 2003-Could Not Find installable I
-
- Use Caspol to check if a group exists
by eddieb7
- 5 Replies
- Last post
by eddieb7
- I am trying to create an install that will run caspol to add a Code Group, which in itself is pretty straight forward.
I am having a problem though, in that each time I run the install it adds a new Code Group.
Is there any way to tel Caspol to only add the Code Group if it does not already exist.
-
- Handling events from remote object hosted in windows service
by Bravo_00
- 0 Replies
- Last post
by Bravo_00
- I have a typical distributed application.
VB 6.0 form called a VB.Net class. This class created several threads and dispatched work to each thread. To do its work each thread called its own remote object on a physically different machine. The simplest case - one thread calling (different from the thread creating the VB 6.0 form) caled one remote object on one remote machine. The remote object (
-
- DataTable inherits IListSource but does not implement GetList?
by fbalas
- 2 Replies
- Last post
by fbalas
- When I use VS to view the definition of a DataTable , it shows:
public class DataTable : MarshalByValueComponent , IListSource , .....
As you can see, this class is not abstract and so it should implement the method GetList() as defined in the IListSource.
As far as I can tell it does not. I am clearly missing some C#/.NET magic here. Can someone explain to me how this is possib
-
- Validate XML with Separated XSD
by SpoBo
- 6 Replies
- Last post
by SpoBo
- Hi,
I have received this .xsd file that has the following in it:
Code Snippet <
< xml version = " 1.0 " encoding = " UTF-8 " >
< xs:schema xmlns:xs = " http://www.w3.org/2001/XMLSchema " xmlns:t = " urn:be-tn:MVNO:Logistics:ProcessKitOrder:0-02 " targetNamespace = " urn:be-tn:MVNO:Logistics:Pro
-
- .net remoting in windows service
by Ashraf Soliman
- 0 Replies
- Last post
by Ashraf Soliman
- I would like to implement a windows service that will be the host of a remotable class. however i would like the service to automaticlly start with the computer and invoke the first client call of the remotable class as well.
I understand that the host can't invoke the remotable class.
what would be the way around that.
Regards
-
- try- catch- end try problem
by aamy
- 3 Replies
- Last post
by aamy
- Hi community !
Just on the verge of completing my window base application
The problem what I am facing is with TRY -END TRY statement
Act what i want is my program to try once my command
and if it does not succeeds shows an error
then wen change my input
it retrys the same but TRY - End try is making it trying only once
and then later watever is d c
-
- C# Group Policy
by _NoIs_Na_FiTa_
- 4 Replies
- Last post
by _NoIs_Na_FiTa_
- Can I edit GPO's of system or manage gpedit.msc with C# It's possible
-
- [Question] Encrypt with Private key (Not Sign)
by BruceWang.Korea
- 5 Replies
- Last post
by gdep
- Hello,
This maybe the stupid question, but I wonder I can encrypt a message
with sender's 'Private key' not public key.
Of course this is 'Sign'.
But I wonder is there any way the 'Receiver' can decrypt the message
with his/her public key and 'see' the original message. (Not just verify).
It maybe basically impossible, but I don't know.
So please tell me w
-
- Is this possible with System.Reflaction?
by NBaua
- 6 Replies
- Last post
by Thomas Danecker
- Hi All,
I am looking for some specific functionality which allows me to run through all the private/public members of a class(can be in another .cs file), optionally I can compile that file if we need to use reflaction, However any of the trick should give me the names and datatypes of all the memebers of that class.
Regards,
NBaua.
-
- _AppDomain.CreateInstance problem
by Brad Smith
- 1 Replies
- Last post
by Brad Smith
- I'm working on a COM add-in project for Office. Because I don't want the overheard of VSTO, I'm going with the approach of using a C++ shim, as created by the wizard provided by MS for generating these things. My shim has been tweaked to download one of two separate .NET add-ins depending on which version of the Office app. I've got it working on all the machines I build on, but when installing on
-
- How to check if an object exist
by TexasOeb
- 6 Replies
- Last post
by TexasOeb
- I have a form that I created after a "press the button" event. However, anytime I create the form, the previous one stays so I have as many form as I "press the button". How can I destroy (close) the previous Form before creating a new one Code to follow
Form1 Form2 = new Form1 (tempCbStations, "INBOUND" , Flag);
Form2.Show();
WindowState = FormWind
-
- COM Interop, GAC, and 'class not registered'
by mightypeo
- 4 Replies
- Last post
by Martin Xie - MSFT
- This is a very interesting and vexing problem. I have two variants of our product. Both are a mix of COM and .NET components that register for COM Interop. Those two variants use two Visual Studio Deployment projects and their output to be deployed. When testing on a clean Windows XP SP2 machine, one variant installs fine, including adding the .NET components to the GAC. It is listed in the GAC, t
-
- Webservice error: Request format is unrecognized for URL unexpectedly
by Mubshir Raza Ali
- 6 Replies
- Last post
by John Saunders
- Hi All,
I have deployed webservice in live environment. On localhost it runs fine but on live environment it give following error when i access it throught browser on the remote terminal in IE7. http://xxxx.com/xx/xxxMaintenanceWS.asmx/LoadTopics Mubshir wrote:
Server Error in '/' Application.
Request format is unrecognized for URL unexpectedly ending in '/Load