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

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

pcd

Member List

Chefbrenner
chongqing
John Aschenbrenner
laboremus
JRLiem
Scieck
elodie23
Colin127
kaizen
Subhasmita
Kathirvel
Jim Shipley
Brett Metcalfe
MurrayLang
Richard Meyers
kimhoskin
Deanrm
Imran_Akram
NessDan
cverdon
Only Title

pcd's Q&A profile

  • Visual Studio Express Editions Icons from a dll

    How can my program get icons from a dll, not neccessarilly shell32.dll. I tried using "extractassociatedicon" function but i want to refer to an icon using an integer, eg (in english) extract icon Number 43 in shell32.dll, then picturebox1.image = icon. How do i write that in vb2005 i want to make a program that replaces windows icons with vista icons. i have the dll from windows vista that contains all the icons. I need to now how to extratc them and replace the curent windows icons. Any1 know how to that ...Show All

  • .NET Development VbCode Why doesn't it work.2

    Ok Im not sure if you got your answer yet, it is possible I may have misunderstood what you are needig however... Perhaps this will help Imports System.Xml Public Class Form1 Dim xmlFile As String = "..\Cars.xml" Private Sub btnMake_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnMake.Click Dim xmlDoc As New XmlDocument xmlDoc.Load(xmlFile) For Each myNode As XmlNode In xmlDoc.DocumentElement.ChildNodes If myNode.Name = "car" Then txtMake.Text = myNode.FirstChild.InnerText End If Next End Sub End Class This will loop the nodes in your xml file and deliver the inner text contained within the element <make> Hope this helps ...Show All

  • Visual C++ unresolved external symbol errors when porting to 64-bit, using visual studio .net 2003

    We have an application that is compiled on a 32-bit XP workstation. We are using Visual Studio .NET 2003. The compile and link is done using command line tools (e.g. cl and link) rather than using visual studio project/solution files. The application is working well as a 32-bit application, but we are now trying to port the application to 64-bit, so it can run on 64-bit versions of XP and Windows Server 2003. My understanding is that we can compile the 64-bit code on the same 32-bit XP workstation we are using at the moment, and the target binaries and libraries can be copied to a 64-bit system and tested. We have therefore changed our build system so that it compiles the code using the 64-bit version of cl, and then it tries to link usi ...Show All

  • Visual Studio Express Editions TXT search with multiple terms

     I am trying to do multible searches within "server.cfg" (which is same as txt) and pick out specific strings (for example "hostname ") and import them into seperate textboxes. here is the code i am using; but all it does is get the first search and stick it in the 1st and 2nd textbox; not 1st term goes in 1st box, 2nd term goes in 2nd box. Private Sub bload_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bload.Click Dim save_dir = q2_dir.Text + "\" + gamefolder.Text + "\" Dim StringToFind As String = "" Dim FileToSearch As String = "" Dim iStartFoundPosition As Integer = 0 StringToFind = "hostname " & Chr(34) FileToSearch = M ...Show All

  • .NET Development Give me the way to start messenger service in window XP

    i want to using "net send" command to send a message to other computer in a domain. But messenger service is disabled. Can you tell me the way to enable window service by JScript. I've just called Shell.Run ("net start messenger"), but window service is disabled so that command is not executed. Window service have three status + Automatic + Manual + Disabled Default is Disabled. I don't want go to control panel to enable it. Please tell me how to enable messenger service using programming language. Thanks. The whole point of disabling a service is that it means only the user can restart it. If you want to have the service available but not running automatically, you WILL have to use the services config but o ...Show All

  • Visual Studio Team System Extending Team Portal to have calendar...

    Hello, I'd like to try to extend a team portal to add a Calendar to the portal.  I thought there would be some type of Web part that did this i.e. mycalendar.  To my dismay I have not found that or any other web part that I could use.  My question is: Is there a calendar available for the Team Portals   If so, where can I find this calendar Thanks a million in advance. BJHop FYI we are using Conchango's Scrum for TFS process template. Hi, There is a way to do this with the 'out of the box' web parts. You use the 'Events' web part and set its properties to display as a calendar (it's the 'Selected View' property in the web part properties. set it to 'Calendar'). -Dennis ...Show All

  • SQL Server Trusted Connection in SQL 2005

    Hi everyone I have installed Microsoft SQL 2005 on a server. I've installed it with mixed mode. The sa account works fine with password and windows authentication if you are logged on a the user name it was installed on. But i need all users from different PC and different logins to be able to access this. In Microsft SQL 2000 you could do this. How can one avhieve this in Microsft SQL 2005. Thanks in advance Make sure you've enabled TCP/IP in the Surface Area Configuration tool on the server. It's not turned on by default. If that doesn't solve the problem please provide some additional details of the problem you're having. ...Show All

  • Visual Studio Disabling Visual Studio "Just In time Debugger"

    How would I disable the Just-in-Time-Debugger so I can use Dr. Watson for my default debugger I"ve installed the Visual Basic 2005 programming language and somehow enabled the VS debugger by accident, I NEED Dr. Watson for my other non-Visual Basic projects. thanks, Matt Matt, You should be able to go to Tools -> Options -> Debugging -> Just-In-Time and disable VS as the JIT debugger. If that doesn't work see http://support.microsoft.com/default.aspx/kb/923827 to restore Dr. Watson as the handler for unhandled exceptions. Azeem Khan Visual Studio Debugger. ...Show All

  • Internet Explorer Development BHO works in IE6 but not IE7

    Hi, I have a BHO that is written in VB. The BHO works in IE6 but not IE7. The place it fails in IE7 is that it does not perform the Navigate2 method correctly. I tried changing the 2nd parameter in Navigate2 to different values according to MSDN documentation. It yield different results. Thus, I know Navigate2 is actually being executed but not correctly. Can someone spot where the problem is Thanks. Private Sub m_ie_BeforeNavigate2(ByVal pDisp As Object, url, flags, TargetFrameName, PostData, Headers, Cancel As Boolean) If someConidtionIsTrue Then m_ie.Navigate2 "xxx.jsp", 0, "aFrame", Null, Null End If End Sub Thanks for your reply. I can send you the complete VB program if i ...Show All

  • SharePoint Products and Technologies Sharepoint 2007 release date

    When is the true release date for sharepoint 2007 .... some say late Feb others say March. whats the truth As Henry thought, it has already been released. The information is available in the product FAQ along with Licensing information should you need it: http://office.microsoft.com/en-ca/sharepointserver/HA101655351033.aspx ...Show All

  • .NET Development BinaryWriter - Dynamic cast

    Hi, I am new to C# and I don't know how to cast dynamically an object to a specific type . I have the object and its type (as a Type object). For example, I read some data from a query (which has been created dynamically) and get a list of objects and theirs types (string, Int64, DateTime...). Now I need to put them into a BinaryWrite. Is there any way of dynamically define which Write method to call I don't want to have a BIG switch to test each possible Type. I would like to have something similar to that: Object obj = new Object(); \\ it comes from a datareader... let's assume it is a string objBinaryWriter.Write(obj as obj.GetType()); Thanks in advance objBinaryWriter.Write(obj as obj.GetType()); ...Show All

  • Windows Forms Reading online document and Puting it inside a stream

    HI I'm using a private control to load and print PDF documents inside my windows form I need to pass a Stream as a parameter to the LoadFile control's method. The Stream should store the PDF document with is online (not in the client machine) How can I read a document from the web and put it inside a Stream thanks Not exactly a Windows Forms question. Before we get carried away: any objection against downloading the document in a file first ...Show All

  • SQL Server Deployment issue : COM object with CLSID {10020200-EB1C-11CF-AE6E-00AA004A34D5} is either not valid or not registered.

    Hello, I have a asp.net application that calls a DTS package. This application is running fine on my machine (where SQL Server and Web Server are running). When I moved the application to a Web Server, I am getting the following error due to the DTS package. COM object with CLSID {10020200-EB1C-11CF-AE6E-00AA004A34D5} is either not valid or not registered. In my Bin folder, I do have the reference to the Interop.DTS.dll. The web server admin tells me that the dtsffile.dll, dtspkg.dll, dtspump.dll and axscphst.dll are registered onto the web server. I am struggling to find the reasons for this. I have tried to replicate this error onto my machine to help me finding out the cause of this problem but in vain! Can you help please ...Show All

  • Windows Forms GDI leak tool

    Is there any third party tool or Visual Studio 2005 plugin which can detect GDI leaks I can find tools which can count leaked resources, but I want the stack trace i.e. where in .net code the leaked resource was allocated. Also another question: does .net use GDI or GDI+ or both Thanks in advance. Pawan .NET Memory Profiler will track objects that you fail to dispose which accounts for the majority of resource leaks including GDI handles. Cheers, Kenny Kerr http://weblogs.asp.net/kennykerr/ ...Show All

  • Visual C# Choosing a Draw() function based on class members

    I have multiple draw() function that wil be called depending on some class members. If there is an effect, if it is primatives, ect. Yes I could have a base class and then have inherited classes depending on what they have extra, the problem is that you will end up with a whole lot of classses. ie. ModelwithEffect, ModelwithBasicEffects, ModelwithEffectandTexture, ModelwithBasicEffectsandTexture.. ect. So I would like to roll it all into one class. I would kind of like a function pointer way of doing it but not sure how to do this with C#. Have the Draw function really just be a function pointer to the correct draw function. As you make changes in the members it just resets it to the proper function pointer. Any ideas theTroll ...Show All

©2008 Software Development Network