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

Software Development Network >> Harold-z80asmRules's Q&A profile

Harold-z80asmRules

Member List

EnochGenesis
redcodes
PeteUK
Cactus77
Brad Smith
Aneo
.net sukbir
J A Y
Grahame Edwards
Roopesh Babu Valluru
twospoons
jss3426
project2n5e0o1
Speakafreaka
Kamii47
Kate Boothby
Daniel Pratt
MA2005
Puncr0c
Dietz
Only Title

Harold-z80asmRules's Q&A profile

  • Software Development for Windows Vista Is GetLastError()/SetLastError() thread-safe?

    This is not specific to Vista, and I just cannot find the answer in MSDN. If the internal error code is per process instead of per thread, then something's wrong. ...Show All

  • Visual Studio Express Editions switching forms

    hello i am making a password protected program and i need to switch between 2 different forms. 1 is the login page. once password is entered i need to go to the main page. wich is called form2. heres my code i hope you can help.   Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Password As String Password = InputBox( "Please enter the password" ) If (Password = "happygilmore" ) Then what has to go here to go to form2 Else MsgBox( "Incorrect Password!" ) End If End Sub End Class Usually the Web does this for you with redirections. ...Show All

  • Visual Studio Tools for Office Deploying Access Runtime -- what do I need?

    I need to deploy the Access Runtime with a solution I have developed. I have Visual Studio 2005 Pro. I have the VSTO download. But I can't find the "package wizard" anywhere. What am I missing Thanks. Oh, I also have Access 2003. According to http://msdn2.microsoft.com/en-us/office/aa905402.aspx " Tool: Build with Access 2003 Developer Extensions The Access 2003 Developer Extensions (ADE) are a series of wizards that run inside Access 2003 to help developers quickly and easily create, test, and deploy sophisticated Access solutions. The ADE tools are part of the Visual Studio Tools for Office software package. You must have Access 2003 installed on your computer in order to use the ...Show All

  • Visual Basic Functions & Methods

    Is there some where I can go in the help or on the internet and get a list of all the dot net methods and functions http://msdn2.microsoft.com/en-us/library/ms229335.aspx ...Show All

  • Visual Studio 2008 (Pre-release) Problem with binary serialization

    Hi, I have a problem with binary serialization, I didn't have this problem with Remoting .Net. I'm using netTcpBinding and have an Interface that is used by a service method, the problem is that when I invoke the method, I get the following error. InnerException {"Type 'Microsoft.ServiceModel.Samples.Person' with data contract name 'Person:http://schemas.datacontract.org/2004/07/Microsoft.ServiceModel.Samples' is not expected. Add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer."} System.Exception {System.Runtime.Serialization.SerializationException} The classes used ...Show All

  • Visual Basic mapping an onClick event to runtime created menu item

    I am trying to create a "recent files" list in a dropdown menu in my application. So I have to add a list of files to a dropdownitemlist when the program loads. I am using the line below to add the a new filename to the list. What I don't know is how to map an onClick event to a newly created object such as the mystripitem below. Any ideas mystripitem = RecentMenuItem.DropDownItems.Add(filename, Nothing, open_recent_event) Create an event handler subroutine and supply it's address to the Add() method: mystripitem = RecentMenuItem.DropDownItems.Add(filename, Nothing, AddressOf open_recent_event) Private Sub open_recent_event(ByVal sender As Object, e As EventArgs) Dim tsi As ToolStripItem ...Show All

  • .NET Development Sockets or TCPListener/TCPClient?

    i really am curious and since im really really new to .NET networking, i just want to ask which is better in networking. or should i say which is easier. the use of sockets or tcplistener/tcpclient i already know how to request and accept connections. i can use either sockets or tcplistener/tcpclient. so since the other can be used than the other, which is easier to use in vb6, it is so very much easy to program networking apps. in .NET it really is totally different. i remember Winsock used in vb6. hhhmmm...maybe i should rather ask which is close enough to Winsock, sockets or tcplistener/tcpclient thanks in advance! Take a look at Jon Cole's blog http://blogs.msdn.com/joncole/archive/2006/04/25/583510.asp This will reall ...Show All

  • Windows Forms Fire events outside the form (KeyPress)

    Hi, I need to know how can I be able to fire an event outside of my form. We all know that there are lots of events that are fired by some action of some control or the form, such as Form1_Load, Form1_KeyPress, Button1_Click, Timer1_Tick, etc..., but to be more specific I really needed to (sort of) fire the KeyPress event outside the form. Let me simplify this: Suppose I have a form with a textbox, and I have the Form1_KeyPress event to capture the keys I press within the form, and individually transforming them to different keys, by changing the content of the e.KeyChar value while the KeyPress event is running, thus changing its output. To put it simple, the program basically transforms the pressed keys into different ones. For examp ...Show All

  • Visual Studio Express Editions Going back to Originating Form

    Okay, This may seem like a newbie question, and it probable is.  How does one go back to an originating form when the originating form could be one of many, many options.   So for example: You have twelve forms.  Each named (for simplicity sakes) Form1 through Form12.  Form1 can take you to each of the twelve forms. Forms 2-5 can take you forms 6-12. Forms 6-8 can take you forms 1, 2-5, 9-12 or they make go back to themselves (From Form 6 to Form 8 and vice versa) Forms 9-12 can take you 1, 2-5, 6-8 or they make go back to themselves (From Form 9 to Form 12 and vice versa) All Forms can always go back to Form 1 (which easy enough) But if I am on Form 9 and I want to go back to 5 (an orginating For ...Show All

  • Windows Forms direct X 10 upgrade

    I'm working on a freeware addon for MS FSX with VB 2005 Express. First question: Is it possible to write MSI installers with VB 2005 Express I'm missing the Setup Project templates (I have a prof. version of VB .NET 2003 but not upgraded to VB 2005 since i don't need it for my work yet). So thought i'd try to use ClickOnce. It publishes fine to my website but when i download and run the published setup.exe all it does is showing the Appname.application XML file in my default browser (tried MS IE 6.0 and FireFox). Shouldn't setup.exe actually download that stuff and install on my local machine or did i understand something wrong Edit I'm using the automatically generated web page for installation, which can be found here: http://www.docmo ...Show All

  • Visual Studio 2008 (Pre-release) What does OptimisticConcurrencyMemberConflict.Resolve() actually do?

    In the DLINQ Overview for C# document, in the OCCR section, there is an Example 6 on page 67-68 (physical, not Word numbered). In that example, there is a try/catch around the first SubmitChanges() call. In that catch, the code enumerates through the OptimisticConcurrencyException.Conflicts collection. The code then calls the Resolve() method on each Conflict. Then it enumerates through each Conflict's collection of OptimisticConcurrencyMemberConflict objects. If a member conflict object has the HaveModified flag set to false, it then calls the Resolve() method on that member conflict. I have two questions. 1. What is the member conflict's Resolve method actually doing From what I can detect, it is doing nothing. You might want t ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. D3DXLoadMeshHierarchyFromX returns E_FAIL

    Hi all, I'm having some trouble loading a skinned mesh from file using D3DXLoadMeshHierarchyFromX(). The function returns E_FAIL, but according to the documentation the return value should be either E_OUTOFMEMORY or E_INVALIDCALL. I thought the problem might have been due to an error in my derived ID3DXAllocateHierarchy interface, but I've traced through the code and both CreateFrame() and CreateMeshContainer() allocate memory as they should and return successfully. What other factors could cause D3DXLoadMeshFromHierarchy() to return E_FAIL aside from an error in the derived ID3DXAllocateHierarchy interface I thought that perhaps the mesh I was trying to load might be faulty, but it loads fine in the DXViewer. Any help is appre ...Show All

  • Visual Studio Team System Cannot use TFS Team Explorer and VSS2005 alongside

    We are unable to use VSS2005 alongside TFS Team Explorer. If we change source control plug-in in Tools to VSS2005, and then try to load a VSS2005-controled solution, it automatically switches to TFS and cannot connect to VSS2005. If we try to switch source control again to VSS2005, after the solution is loaded, it thinks it's a new solution and tries to add it anew into VSS2005. Basically, it gives preference to TFS whatever ways of loading VSS2005 solutions we try. If we uninsall TFS Team Explorer, VSS2005 works again ... not good enough ... You're right, the solution file had the old bindings for TFS. We had the following scenario with this solution: 1. Was checked into VSS6 2. Was checked into TFS 3. Was checked into V ...Show All

  • .NET Development Easy ways to distribute .NET Framework 2.0 to end users?

    Hello everyone, Since our app is built on .NET Framework 2.0, our end users will have to have .NET Framework 2.0 to run our app. The framework is about 22MB. Even on a decent internet connection, it takes around 7-8 minutes for the download and installation and also we dont have any control as to whether the installation went right or crashed in the middle for any reason etc I know a lot of people would have come across this issue, Can you let me know of ways of I can better this process. I am using ClickOnce Deployment and it generates a Setup.exe file (which includes the Framework). I tried InstallShield, even that takes same amount of time and the process is pretty much the same. Any or all suggestions is highly appreciated. ...Show All

  • Visual Studio installing VS 2005 SP1, computer shuts down during "Gathering Required Information.."

    I've tried installing VS 2005 SP1 three times now and each time the computer has shut down when it was about half way through the gathering information phase. Please help! Before the last attempt I uninstalled c++ to make things go faster and i used the batch file to disable the patch cache, but it was just as slow and it still crashed. Thanks for any help. Greg B Looks like this may have been an overheating issue with my laptop. After several hours of continuous hard drive reads/writes I guess it was enough to shut her down. Adding some airflow solved the problem. ...Show All

©2008 Software Development Network