Within a Silverlight 3.0 application I want to use the AssemblyFileVersion to display the version information of the application. This is not the same as the AssemblyVersion and is typically retrieved in a .NET application using code such as:
var executingAssembly = Assembly.GetExecutingAssembly();
var fileVersionInfo = FileVersionInfo....
Does anyone know of a .NET managed wrapper around Windows API functionality that is not available in the .NET framework itself?
Areas such as window creation and display styles, common UI control manipulation, keyboard/mouse input, file and disk information, memory mapped files etc
I have been a regular to visitor http://www.pinvoke...
Which language is preferred by most developers especially targeting .NET & silverlight? Is it C# or VB.NET?
Are there any advantages/disadvantages of both languages when compared with each other?
...
I have a .NET 3.5 Winform exe. After applying protection using PC Guard, I got the following message while launching it.
"Unable to generate a temporary class (result=1). error CS0009: Metadata file "t:\xxx\winform.exe" could not be opened -- 'An attempt was made to load a program with an incorrect format.'"
After I click "OK", the pr...
Duplicate of Calling .NET methods from VB6 via COM visible DLL
Which ways exist to use/call .NET classes/functions/libraries (.net 3.x) in VB6 or classical ASP ?
Has anybody experiences with that ? How much effort is necessary to wrap .NET to COM ?
Are there tools which help ?
...
Hello,
to not block the UI of my applications when there is a long operation I use to do:
Public Sub ButtonHandler() handles Button
Dim auxDelegate as Action
auxDelegate = New Action(AddressOf DoAction)
auxDelegate.BeginInvoke(AddressOf EndAction,Nothing)
End Sub
Private Sub DoAction()
''# Do long time operations here...
Does anyone know how to find out which bot visited your website/page using google analytics API and .Net ?
...
Hello,
We have a machine that needs .NET Compact Framework installed and now we need to install standard .NET Framework 3.5.
Any problems or known issues with installing both frameworks together?
Thanks.
...
Hi,
I'm trying to setup my development envrionment on a Windows 7 64-bit edition system. I've installed VS2005 and VS2008 alright.
At work, we have several self-developed control libraries for the .NET Compact Framework. Under Windows XP 32-bit I was able to store them in a folder C:\owncontrols and add the folder to
[HKLM\...\Microso...
I wrote this to quickly test
Why arent my settings being saved? The first time i run this i have 3(old)/3(current) elements. The second time i get 3(old)/5(current), third time 5(old)/5(current).
When i close the app the settings completely disappear. Its 3 again when i run it. I made no changes to the app. Why arent my settings being...
So I'm looking at PostSharp and I noticed that this isn't using runtime generated proxies but it is actually giving hints to the compilation process to include the aspects within the IL.
So my initial thought were wow, how the heck is this done. Any pointers where I should be looking?
...
Hi,
I am using C# for programming!
We have three load balance servers, it was working before, however we started getting below error now days for our PORTUGUESE website only and If I check the task manager it is an network service (W3WP.exe) taking lots of memory. Once I kill that process from task manager it works fine and again tomor...
I'm working on a .NET app that calls 3rd party web services over the internet. The services do not use SOAP, so we manually construct an XML request document, send it to the service via HTTP, and retrieve an XML response.
Our code is a Windows service that is run in the context of a normal Windows domain account, and sits behind a proxy...
Is it possible to sign a document stored in DB on server using CAPICOM+javascript on client ?
I´m developing web/intranet application. User need to attach his signature to document stored in server database - detached signature (p7s file) and upload this signature back on server.
How to get document on client ? Is it possible to hash d...
I want to filter out the char ^ before searching something in a database.
What will my regular expression look like if i want to achieve that the query will ignore this sign: ^ ? I'm working with VS2008 .net 3.5 and C#.
...
I have tested search functionality i have implemented on a live website. I came across some small issues. I can't put special characters in the search box or my application will crash.
I tried to solve this using some replaces on the characters it crashes on, but this won't cure the pain.
When i entered this sign: * into the searchbox it...
How to use a dll made in vb 6 to c#.net 3.5 application ? Although we have interop feature but it requires to map all the functions of the dll. Is there any other way around that is quick and reliable. Further is there any tool that might convert this vb 6 dll to .net assembly ? Thanks in advance.
...
Is it possible to have partial classes across projects.
e.g. Project 1 has a Customer Class.
Project2 whish is an optional module adds to the customer class by attaching an order class, and utilising the original Customer Class.
...
I am formatting numbers to string using the following format string "# #.##", at some point I need to turn back these number strings like (1 234 567) into something like 1234567. I am trying to strip out the empty chars but found that
value = value.Replace(" ", "");
for some reason and the string remain 1 234 567. After looking at...
I am using abcPdf to convert an HTML report into a pdf file. The pdf has to be a single landscape A4 page.
Do you know if there is any way to tell abcPdf to scale the HTML page to fit on a single page in the pdf? I tried using the Magnify() method, and it scales the content but still breaks it into pages, even though it would fit on one...