Answer Questions
Simranjeev Create a Shell Extension Handler thumbnail extractor with .net?
Hi, My application creates nice graphics see http:// www.mavericksplan.com/mavericks and it saves a custom document type. I'd like to show the contet of the document in Explorer when the user switch to Thumbnail view. To implement this feature I understand I need to create a Shell Extension Handler Thumbnail Extractor that extract the image from my file type to feed Explorer thumbnail vew, which is not easy at all for me. I ...Show All
HJ Liu Application_AcquireRequestState Execute twice per request
Code inside of the global.asax file on the Application_AcquireRequestState event fires twice for each request. One the first request I have session state and on the second, I do not. Here is simple test I ran to verify that it is running twice: Protected Sub Application_AcquireRequestState(ByVal sender As Object, ByVal e As System.EventArgs) If Request.IsAuthenticated Then &n ...Show All
stir Checking if I'm online
Hello there! This is my 1st post here and I'd like to greet all people here and ones that are yet to come! I hope we will cooperate just fine. For start, I have a question: I'm making a project with Visual Studio .NET. It is a counter that counts time spent online. (most people in Croatia still use dial-up networking, including me) I'm doing the code in C++. I was wondering how can I check if I have connected to Internet. Another think (I thi ...Show All
TimFroglich Authentication across three servers: Visual Studio 2005 > Server 2003 Web> SQL Server 2005 Standard
We have recently purchased three servers and are attempting to move to the Asp.Net 2.0 environment. The scenario: Development server running VS 2005 Pro, writing progams to the Web edition of Server 2003 in .net 2.0 environment, which accesses db's from a third server with SQL 2005 Standard. (code below) The code below works when run from one machine (XP Pro with .net 2.0, VS 2005 Pro, and SQL 2005 Developer), but does not across the th ...Show All
toddwick .Net Framework, compiled or translated?
Sorry but I have this basic question, is about plataform .NET Framework, I'd like to know if the final result is a machine compiled code compatible with .NET FW or is a .NET FW code to be translated in runtime as with Java . Too, I'd like to know about the same but with C# and Basic. We know that pure C++ code is optimized machine code, but how works C# or Basic about this . Thanks. Hi, Check out the followi ...Show All
viewpl help me about IIS
Hi forum, I am new to .Net technology. I installed visual studio 6.0 in my system. OS is windows 2000 Proff. but i am unable to run the IIS server. can any one please help ...Show All
Sam Dela Cruz Incorporating Perl libraries
There is a graphical Perl utlity I wish to incorporate into my ASP/SQLServer web database, hosted on a windows server. The utility requires a long list of Perl libraries to run. There are instructions available from the developer on how to easily set it up and get it running on the Apache server but nothing for windows server. I am wondering if I am likely to have problems running this utility using ASP/windows server ...Show All
smar help !!!! my database returs always old value's
hello , my name is jonathan maes , i am a student , for a work i make a invetary program in C# express edition , i work with - Acces database - databindings now what's my problem , well when i delete a record from my database en i restart my program , and i visualise the values he shows the value what i trough away , can somebody help me my excusses for my bad english you can mail me to maes.jonathan@gmail.c ...Show All
Pinakee Error with ExecuteScalar()
Hi guys, this is the code: Dim StrRowCount As String Dim StrQuery As String Dim SqlConnString = ("data source=NUCX;initial catalog=Video Kiosk;User ID=sa;Password=[my password];") Dim custID = Me .CustomerID.Text Dim SqlConnection1 As New SqlConnection(SqlConnString) StrQuery = ("SELECT COUNT (CustID) FROM Customer WHERE CustID ='" & custID & "'") SqlConnection1.Open() Dim SelectCmd As New SqlCommand ...Show All
fhunter Connecting problem
Hi. I am having problems with the TCPClient Class in .NET (1.1) If i connect to the server app from either mobile device or the Windows Client application, it of course connects successfully assuming the server is up and running. However, if i quit/stop the service of the server app and try to connect from the client application - you would expect for it not to work. However, it does! It seems to connect but the problem starts when you se ...Show All
martin_lofberg How can I get the local windows user folder in WinXP using C#?
I am tryin to get the local user folder in C# using SHGetSpecialFolder and I wrote this code but it didn't work [ DllImport ( "shell32.dll" )] private static extern bool SHGetSpecialFolderPath( int hwndOwner, string lpszPath, int nFolder, bool fCreate); private void btnUserData_Click( object sender, EventArgs e) { const int MAX_PATH =700; string folder = new string ( ' ' , MAX_PATH); bool x = SHGetSpecialFolderPath( ...Show All
Eric Landes SqlDataReader problem while showing data in <td>rdr.getvalue(2)</td>
hi. i am having a problem while showing my data through sqldatareader in C# asp.net web application. the Problem is the sqldatareader object doesnt shows data on the newline. let say the data in sql table is "hi my name is measum" now when i show this data through <td>rdr.getvalue(0)</td> it will show like "hi my name is measum" (c no line break) however when i put this data into the textbox(multiline ...Show All
Diligent Compiling with Embedded Native DLL
I am trying to compile my c# project to include an com dll as an embedded resource. And i getting the following error. Fatal error CS0009: Metadata file ‘XXX.dll' could not be opened -- 'There isn't metadata in the memory or stream' I am using the / resource compile switch. When i compile from Visual Studio 2003 this works fine. Any help appreciated Shango Yes it is what i wanted to do. I ...Show All
bluestar SQL strings and distributed applications
I am building a solution in VB 2005 which uses SQL strings to determin varoius totals etc. It works fine on my machine - but when I deploy the solution and install it on another machine, it fails to show the totals at all. I am in no way an expert so i assume that I have overlooked something simple. I would be most grateful if anyone could point me in the right direction. I don't get any error message, when you ...Show All
c3 Killing a ThreadPool thread
How can I safely kill a thread from a ThreadPool That is, how can I kill/abort the thread resulting from queueing like this: ThreadPool.QueueUserWorkItem( new WaitCallback(someMethod), someObject); The problem is as follows: 1. Once in a while (much more often than we can afford for the critical production application!..) the Image.SelectActiveFrame(...) method hangs, consumes 98 to 99 % of CPU, and we have to reboot the server... ...Show All
