|
You can't, unless you have the latest version of SQL Server ( which I don't think is out yet, but there are betas about ).
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
yo, my current project uses several DLLs. one is quartz.dll found in the system32 folder in the windows directory. my problem is that vc# makes a copy of it (and names it Interop.QuartzTypeLib.dll) to the application directory. is there a way i can change the name (or look for a different name) or have my program search for the file in the system32 folder instead?
|
|
|
|
|
Interop.QuartzTypeLib.dll is not a copy of the .DLL your using. It is a RTC (Runtime Callable Wrapper), that provides the interfacing between your managed code and the unmanaged code in that .DLL. Your code can't live without it and still work with the Quartz.dll. Normally, this file (the Interop .DLL), would be distributed with your .EXE and reside in the same directory as your .EXE when your app is installed.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
looking for an example on your site on how to embed images in a Rich- text box
|
|
|
|
|
|
well, the thing is, i want to do something like what the new yahoo messenger does when u sending or receiving files. I.E, it displays it in the same text window
|
|
|
|
|
See here[^], although I am sure you can find more examples here in CP.
|
|
|
|
|
Hi friends,
Its a while I am looking for a way to keep some object in ASP.NET server memory permanently without loosing it at Application_End event,
Is there any way?
- Mohammad
---
"Art happens when you least expect it."
|
|
|
|
|
Write it to a persistent store in application_end, read it in application_start.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Its an interesting idea, but note that in my situation it is not a value type or a composite of value types, its an object that is doing something in its lifetime, and I want to keep it alive.
---
"Art happens when you least expect it."
|
|
|
|
|
In that case, write it as a windows service ( the process that does this work )
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Thanks for your note;
So it seems there is no way to do it without windows services? yes?
By the way it is not possible to create a windows service in a web application on the fly, isn't it ?
---
"Art happens when you least expect it."
|
|
|
|
|
Den2Fly wrote: So it seems there is no way to do it without windows services? yes?
I doubt it. App end means what it says, your app is stopping.
Den2Fly wrote: By the way it is not possible to create a windows service in a web application on the fly, isn't it ?
Do you mean start one running, or create one ? You can control one. You could just run any old process, the point of a service is that you can control it from your app.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
We have all seen it, you try to delete/move a file/folder and Windows presents you with a message stating that the item cannot be moved/deleted as it is in use by another program.
Is there a way to identify which processes have a "hold" on a file/folder within c#?
I assume that this will be through some API call, but at the moment I am at a loss to find any specific details
post.mode = postmodes.signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
|
|
|
|
|
I have written a C++/CLI wrapper around some old C++ code so I can call it from C#, and a VERY simple demo app that calls the code. It works great. I've sent the release builds to the person I write this stuff for, and he gets an error when the code tries to call the C++ DLL :
Could not load file or assembly 'HDRLib, version xxxx culture neutral publickeytoken=null. This application has failed to start because the application configuration is incorrect.
The last bit is a verbatim quote of what HRESULT 0x800736B1 means, being the HRESULT it quotes. Again, this is managed C++ code being called from C#, works fine here.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I havejust begun to program, but only minor things. Mostly i read about sites for help but they just confuse me. Even the beginner C# tutorials here confuse me. This is mostly because of the words and the format. Some expect you to be already familiar with C++, and i am not. If someone could give me some advice of a site to go to, or any information that could possibly help me progress in the ways of C#. Ty for any help
I never think of the future.It comes soon enough
**Albert Einstein**
|
|
|
|
|
You won't find a better site than this one. If you can't work out what we're talking about, buy a book and work through it, and keep asking questions.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Look at some of the free videos at learnvisualstudio.net as often watching a person and listening to what and why they are doing something is a great way to learn
|
|
|
|
|
Can anyone point me to a good example of the PrinciplePermission object (either in C# or VB .NET).
I am having trouble retreiving my own identity to use the Demand method. Whatever I enter, it refuses to grant me the permissions I request.
Also, I have managed to place an assembly into the GAC but for the life of me I cannot reference it. Any pointers would be most appreciated.
|
|
|
|
|
dundealing wrote: Can anyone point me to a good example of the PrinciplePermission object (either in C# or VB .NET).
MSDN has a good example of the PrincipalPermission Class[^].
As to the GAC assemblies, you need to add a registry key entry to the following key:
HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders
|
|
|
|
|
hi,
if anyone can help making dateTimePicker with multi selection like u can choose 13 november,14 november. and 29 november
best regards
charbel
|
|
|
|
|
I has the exercise like below
Develop a mini browser has the following features
1, Has back, forward, stop, home, refresh, favourite and search
2. The title of form has the title of HTML page
3. The status of the form will be used to display the progress bar when user dowloading a web page.
I have done almost function but the function of favourite and search and display The title of form has the title of HTML page and display The status of the form will be used to display the progress bar when user dowloading a web page i have no idea to do it.
Please help me.
Thanks very much.
I tried so hard and got so far
|
|
|
|
|
rockxuyenmandem wrote: I have done almost function but the function of favourite and search and display
Favourites is just a list, probably stored as an XML file. Easy to do
Search is a waste of time, provide a link to google :P
Display is the big one, if you don't want to use IE as a control, then good luck.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi i have a little question. I tried to read a value from a registry like the following:
RegistryKey MyReg = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Active Setup\\Installed Components\\{44BBA840-CC51-11CF-AAFA-00AA00B6015C}");
auth = MyReg.GetValue("Username").ToString();
It actually workt in a form, i get the username in that value. But when i try to implement this in my Windows Service, it is not able to read from the value?? I can create the MyReg object but can't get the value "Username" from it.. Does anybody has an idea why? And a solution for it? You would help me alot
Greetings
Steven Bruneel
|
|
|
|