|
Sorry Abhijit, I was out of station so I coudnt reply you immediately. Yeah its working fine and thank you very much. Now could you please tell me I am unable to load a word file in to it.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Sir,
After I register a dll file "regasm d:\Aleem\DSOControl1\DSOControl1.dll" I tried to install it in gac, but it is giving error as
*Failure adding assembly to the cache: Attempt to install an assembly without a strong name*
could you please tell me whats wrong with me. And remember here I am converting a com activeX control into .Net assembly. Please tell me in one knows this please.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hi All,
I'm migrating a web application from .net 2003 to .net 2005.
I need to know what I have to change manually in each page before I make the conversion because when I use the conversion wizard,many errors are generated.
Thanks so so much
|
|
|
|
|
Mainly three things:
1. In the Markup replace "CodeBehind" with "CodeFile" int the Page directive
2. In the code file add the modifier "partial" to the class
3. Remove the control declarations in the code file. For example if you have <asp:Literal ID="Literal1" runat="server" /> in the markup, you don't need code like Literal Literal1 = new Literal() in the cs file.
Also there could be a lot of code-specific changes you might need to do, sometimes just warning messages. To give an example, you should replace Page.RegisterStartupScript with
Page.ClientScript.RegisterStartupScript. The best you can do, is examine these errors one be one and possibly resolve them with replace.
|
|
|
|
|
Thanks a lot
|
|
|
|
|
Can anyone direct me to some good WPF tutorials that cover a conventional business type UI? Everything I can find concentrates on all the magic new media etc. features, and I just want a good, quick start on using XAML for porting our existing application.
I'm using VS2005 with the extensions.
|
|
|
|
|
You might look for the MSDN events if you are in the United States. I went to one while back that showed both WPF and how it would be used to make stunning applications (their example was the real estate business). Other than suggesting the MSDN events I can't help you much. Sorry.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
I have done one desktop application in visual c#, I want to give
Online pupations for that software.
I need full article about online updating and installation, and coding or any useful instructions briefly
we are in illusionary life
|
|
|
|
|
wrote: I want to give Online pupations for my own software
A pupation is an insect in the nonfeeding, usually immobile, transformation stage between the larva and the imago.
Is this what you really meant?
|
|
|
|
|
Hi there !
I have quite a complex application, consisting of several UserControls, self-made and third-party dll libraries (imaging library from Leadtools).
I considered clickonce deployment and it seems to work fine, but only on Win-2k machines the application runs without any problem. Under Win XP there seems to be some problem with the imaging library, which must be security related. The application does not start because of some internal initialization of the imaging library.
The error is hardly reproducible, on some XP machines it also works, on others not.All user accounts where I tried to install had admin rights.
Can anyone give a hint ?
|
|
|
|
|
Dear Friends,
when I am trying to convert the DSOFramer com component as .net framework assembly, its giving the problem.
I used the type lib import tool at cmd prompt to do it as below
* tlbimp lib/D:\Aleem\DSOControl\bin\dsoframer.ocx /keyfile :\Aleem\DSOControl1\bin \DSOAleem.snk/namespace:DSOFramer/out:lib/D:\Aleem\DSOControl1\DSOControl1.dll
*
But its giving problem as below. I put every thing displayed at cmd prompt to read
*C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin>tlbimp lib/D:\Aleem\DSOControl1\bin\dsoframer.
\bin\DSOAleem.snk /namespace:DSOFramer
Microsoft (R) .NET Framework Type Library to Assembly Converter 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
* TlbImp error: The given path's format is not supported. *
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin>
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin>/out:lib/D:\Aleem\DSOControl1\DSOControl1.dllt
n\dsoframer.ocx /keyfile :\Aleem\DSOControl1\bin\DSOAleem.snk /namespace:DSOFramer
The filename, directory name, or volume label syntax is incorrect.
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin>
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin>/out:lib D:\Aleem\DSOControl1\DSOControl1.dll
The filename, directory name, or volume label syntax is incorrect. *
Please help me in this matter please.
Thank you
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hello there
Until today, I have been using VS 2003 / VC ++ without any problems for several years
Installed VS 2005 on my WinXP-SP2 machine (left all the default folders as suggested), then applied SP1 of VS 2005 without any problems… Then, converted my project to the new IDE using the wizard – no errors or any messages, seemed all OK:
BUT
1) Decided first to build an ANSI RELEASE version, all seemed OK except the application looks wrong, the tree control fails to create, the dialog background colouring is NOT there, all the buttons on my dialog do NOT process any messages, so to quit the screen I had to use ALT + F4, nothing else would work.
2) Attempting to build and debug an ANSI DEBUG version of my program, it seems the IDE can’t locate the VC DEBUG DLL’s and I had to copy those into my application folder… Strange – I thought the IDE should “Know” where these are located…
mfc80d.dll
mfcm80d.dll
msvcm80d.dll
msvcp80d.dll
msvcr80d.dll
3) Attempting to build a UNICODE DEBUG of my program, I get this error
LINK : fatal error LNK1181: cannot open input file 'lsvc8u.lib'
Searching for the file on my PC returns ZERO results, there is no such file on my machine, I did performed a complete install of VS 2005, and am not expecting anything to be missing…
4) On exiting my application, I get a crash with the message f:\sp\vctools...", I have no idea where is the “f:” drive designation coming from since I don’t have such a drive mapping on my PC
Looking at the Call stack, I get a “Strange” list – which I am sure my Application DOES NOT execute, so I figure somwhere there must be a corruption of sorts for this to come up. Looking at the bottom of the list, Ther is a call to a function MKGetFaxDateandTime() which I am sure it is NOT called anywhere.
Anyone has such experince???
Cheers
Alex
|
|
|
|
|
Sounds like a question best asked in the Visual C++ forum.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
hi all,
can somebody let me know what is Singleton Application in .net ?
what is the importent role of this Architecture?
Please help me...
Pavan Pareta
|
|
|
|
|
It is a way of saying that no matter how many times you run the app, it will only run once, only one instance of the app will ever be running.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
thanks
can you give me a simple example about it.
Pavan Pareta
|
|
|
|
|
The following code demonstrates the main concept:
class Singleton
{
private bool instanceExists = false;
private Singleton()
{
}
public Singleton CreateInstance()
{
if (!instanceExists)
{
instanceExists = true;
return new Singleton();
}
else
return null;
}
}
Singleton s1 = new Singleton(); //compiletime error, constructor is not public
Singleton s2 = Singleton.CreateInstance(); //success
Singelton s3 = Simgleton.CreateInstance(); //s3 will be null
|
|
|
|
|
Hey, I think your code is for singleton object, not for singleton application, as you may run this application many times and thus get many instances
I've found an CP article on singleton application: http://www.codeproject.com/cs/threads/SingletonApp.asp[^].
There are other approaches as well. The approach I prefer is using a named "memory-mapped file".
-- modified at 20:45 Thursday 11th January, 2007
Best,
Jun
|
|
|
|
|
How can I make my Web User Control have a custom display when it is viewed from the design surface? IE. When you place an Atlas extender on your page it renders a box at design time but not at run time. I want to be able to do the same sort of thing.
|
|
|
|
|
There's a property called IsDesignMode or something, you can check for that in a paint event.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Do you get a paint event for a web user control? I was thinking that you get the Render event
what would this be a property of?
|
|
|
|
|
I am not sure about the web user control but for a generic class inheriting from WebControl or Control (this is called a server control???) you can define a Designer class for your control that inherits from CompositeControlDesigner in the System.Web.UI.Design.WebControls namespace. Inside that class you can override the GetDesignTimeHtml() method and return whatever you want. Back in your class you will need to add [Designer(typeof(NameOfYourDesignerClass))] to your class.
|
|
|
|
|
Hi All,
I need to know whether Visual Source Safe works on VS.Net 2005 or not.
I'm migrating an application from .net 2003 to .net 2005 & want to know how to use source control in .net 2005
Thnx a lot
|
|
|
|
|
It works the same way in 2005 as it does in 2003.
only two letters away from being an asset
|
|
|
|
|
Hello!
I would like to capture video from a camera, but I just can't find information about it... I found some articles, but there are no explanations there...
Maybe anybody knows where can I find information about it?
Thanks in advance!
|
|
|
|