Software Development Network Logo
  • SQL Server
  • IE Development
  • .NET Development
  • Visual FoxPro
  • Visual C#
  • Windows Vista
  • Microsoft ISV
  • Audio and Video
  • Smart Devicet
  • SharePoint Products
  • Visual C++
  • VS Team System
  • Visual Studio
  • Windows Forms
  • Game Technologies

Software Development Network >> glavian's Q&A profile

glavian

Member List

Tom_Liu
Thomas Tomiczek
Tejas34
DavidHarper
rumil_
Predator14567
Alan Stevens
GAlexey
Cosmin Cojocar
F. Gsell
jan_bp
ponchoelchico
bslim
Barry Kwok
hrubesh
kweicht
malhar
Deza
Amos Soma
Jean-Pierre Fouche
Only Title

glavian's Q&A profile

  • Visual Basic Check if remote computer is locked

    Is there a way in visual basic to check if a remote computer has been locked Cool! Thanks Sven. This is a great help. ...Show All

  • Visual C# PVInvoke error..

    "A call to PInvoke function 'ResThemer!SPINE_RES.Resourcer::EnumResourceTypesA' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature." This is the error I get when using 'EnumResourceTypes' in kernel32.dll. The call uses a delegate the acts on a callback of a user-defined function, in this case I call 'EnumResourceNames' from within it. I have been trying for two days to translate what the MSDN Library shows you in Cpp but to no avail. Any help on how to do this would be great. The bottom line is that I want to be able to update my programs resource ...Show All

  • Visual Basic In need of help ref microsoft example

    Hi, Ive built an application in vb.net 2003 that printed to my printer using the raw printer example written my microsoft and it worked no problems at all and have used it at home for a year or so. http://support.microsoft.com/ scid=kb;EN-US;322090 Today i was writing a different program but this time in 2005, again i used the raw printer class but when i came to test it today i get the following error. at this line "If OpenPrinter(szPrinterName, hPrinter, 0) Then" in " SendBytesToPrinter" function A great source for getting pinvoke signatures www.pinvoke.net For the OpenPrinter http://www.pinvoke.net/default.aspx/winspool/OpenPrinter.html I make no gaurantee's on its accurateness, but its n ...Show All

  • Windows Forms cannot handle to property changing event of my datatable

    i select the property changing event of my datatable and i get the folowing exception,. the code is autogenerated and ... Private Sub dt1_PropertyChanging( ByVal sender As Object , ByVal e As System.ComponentModel.PropertyChangedEventArgs) Handles dt1.PropertyChanging End Sub Error 1 Method 'Private Sub dt1_PropertyChanging(sender As Object, e As System.ComponentModel.PropertyChangedEventArgs)' does not have the same signature as delegate 'Delegate Sub EventHandler(sender As Object, e As System.EventArgs)'. D:\.... is that a bug I am a bit confused as the event arg you use is System.ComponentModel.PropertyChangedEventArgs while it handled PropertyChanging. Are you sure you shouldn't handle Prop ...Show All

  • .NET Development DAL code generating tools

    I am doing evaluation of different Data access layer code generation tools for dotnet. Many people in the industry do evaluation of t he tools based of many points.3 of those points are not understandable to me. 1. Maintains single identities for objects returned from queries 2.Resolves Circular Identities 3.Business rule Support Can somebody please help me in understanding in laymans language what these means Cheers leo Leo, I assume these are probably asspciated with O/R Mapping. #1. I assume this means that a query returns a collection of entities, with a single entity mapping to a row in a database table. For example, you may have a Customers Table in your database, with eac ...Show All

  • Windows Live Developer Forums How to get the VEPolyline information from the GetRoute()

    I am trying to get the VEPolyline information from the GetRoute. I don't find any thing related to this in SDK.My problem is I am trying to create an application to map the multiple routes. Currently we can create the only one route. I tried to get the each segment and LatLong object. You know if you try to draw line between them, you get a straight line! This is a feature many people (including me) have shown interest in but it isn't available yet. I had hacked the API at one point to capture all the point in the polyline for each route but it was clunky and unreliable. I'm still waiting for MS to provide multiple route functionality. ...Show All

  • Visual Studio Express Editions How to create a single executeable?

    While I am aware of the disadvantages of static binding ... For my particular application a single executeable would be much more suitable than making every user download 20 Mb of .net dll's. Any ideas on how to create a simple single executeable Thanks in advance... Ashley what do you mean by single executable an application is pretty much a single executable app. if you are talking about the .NET Framework then no, there is no other way of running your .NET Developed application on a computer that does not have .NET Framework installed (the correct version). How would it access the .NET components to run your app its like a car - you are telling the shell of the car to just run without the ...Show All

  • SQL Server Out of memory while querying causes wrong data to be returned

    Running AS 2000, SP4. A couple of times while querying a cube, one member has got the wrong data displayad (the value are to low). No matter if I reload the query afterwards, restarting the query application etc, the same faulty value still gets displayed for that member. After I restart analysis services the value is correct again. No other changes, exact the same query etc. While analysing the event viewer I see that analysises services has run out of memory before this strange behaviour (MSSQLServerOLAPService - "The server is out of memory"). Could this out-of-memory error has caused the wrong value to be returned, and the somehow the value has got cached on the analysis server so it's not fixed until the server has restarte ...Show All

  • SQL Server Need help using GROUP BY clause

    I have two tables A. TEST_SUBJECTS_TBL with the following columns . This table contains the subjects in a test 1. TEST_SUBJECT_ID PK 2. SUBJECT_ID FK 3. TEST_ID FK 4. PM This is the passing marks for the subject B. TEST_MARKS_TBL with the following columns This table stores the marks scored by students for each subject 1. TEST_SUBJECT_ID FK 2. STUDENT_ID FK 3. MARKS_OBTAINED I need a query which gives me the max, min,avg marks obtained in each subject for a test and the total number of students who have passed in the subject The query output should be something like this ___________________________________________________________________ SubjectID MaxMarks MinMarks AvgMarks TotalStudentsPassed _________ ...Show All

  • .NET Development WSE 3.0 Secure Conversation

    Hello, I have a few questions about WSE 3.0 Secure Conversation features. When is it appropriate to use it Is it just for performance increase And when establishing a secure session is it possilbe to use that to create a stateful web service experience. Can i replace [enableSession=true] and use this instead Thanks, Kostadin Hi Kostadin, While there are more reasons to use secure conversation than simply performance boost, it would be the main reason why you would want to use it. The following article can answer questions you have towards secure conversation. http://msdn2.microsoft.com/en-us/library/ms996470.aspx The article was written towards WSE 2, but the concept of s ...Show All

  • SQL Server Anyone know a self extracting tool for a zip file?

    I have a zip file that requires a password to extract the file inside of it. Is there away to do this automatically Can't find any software that does this. Mike The spaces in the directory names can cause problems in a command line. from the help file: Wildcards or filenames with spaces must be quoted: "Dir\Program files\*" Dir\"Program files"\* Also need to make sure that the exe is being called from the correct path, or make sure that the exe is in your Path$. also, try to access the help file that came with 7-zip. There is a section titled "Command Line Syntax". This should prove to be invaluable. ...Show All

  • .NET Development System.Security.AccessControl Namespace

    Hello! I need several classes from the System.Security.AccessControl Namespace (FileSecurity, FileInfo.GetAccessControl method...) and that namespace seems to be new in .Net Framework version 2.0. i have installed that version but my visual studio is using the old version of mscorlib.dll i.e. file version 1.1.4322.2032 and when i try to reference the new version of the file mscorlib.dll (which is part of .NET framework version 2.0) i.e. file version 2.0.50727.42 a get the message that the reference to that file could not be added with the explanation that the file is not a valid assembly or a COM component!! Please help! it is quite urgent... Goran. ...Show All

  • Windows Forms How to develop c# desktop application using Skin/resource?

    How to develop c# desktop application using Skin/resource, by which I can separate my business logic from UI implementation such that I can change the UI by reading skin/resource file irrespective of the path or assembly Please reserve the C# forum for questions related to the C# language. Please post WinForms questions in the WinForms forum. I'm moving this thread to the WinForms forum. Thanks. Michael Taylor - 12/12/06 ...Show All

  • Audio and Video Development System Port access in VB.Net

    Hi all...,, I had designed a media player with Recorder in VB.Net 2003... I have one problem with it.. That is when one going to Record without connecting the Microphone means I need to give an alert to user like "You need to connect the Mic for proceeding Record" for this I need to check the ports get the status of ports... Can anyone give me an idea to resolve this... Regards.., RR. Try the newsgroups here for your question: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx d=1 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Download

    How big will the file be I'm rumming on Dial-up and don't want ot be waiting for hours trying to download it. Pretty much everything takes hours on dial-up, so be prepared. If it's under 50MB I'll be surprised, but I'm thinking more like 100MB or more. ...Show All

©2008 Software Development Network