Answer Questions
meddy Problem with Mouse_down and Mouse_leave on items
Hi I have put this code on my label and this is not working. Private Sub label1_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles label1.MouseDown label1.Font = New Font(label1.Font, label1.Font.Style Xor FontStyle.Bold) End Sub Private Sub label1_MouseLeave( ByVal sender As Object , ByVal e As System.EventArgs) Handles label1.MouseLeave Label1.Font = New Font(label1.Font, Label1.Font.Style Xor FontStyle.Regular) End Sub When I move the mouse cursor on " label1 " , the font style must be cahnged to " Bold ", and when the mouse leave, the font style must be changed to " Rregular ". Thanks Shady ...Show All
mckraut Learn about dlls
I would really love to learn what a dll is, how it is used and in what kind of circumstanses I would need to use one. Here is what I do know about them 1) dll = dynamic link library and that's it (and I am not really sure if that is correct) Does anyone have a test dll that I can look at or at least a reference to where I can learn more aobut them. Thanks in advanced. Yes, a DLL can function as a module, though it is not limited to this use. You can include multiple modules and even forms and user controls in it, and then access them from within another application. This means that if you create a control, and event handlers and code for it, you can compile it into a DLL and use it in multiple applications. DLLs are also qu ...Show All
Jesper Kleis Jensen PC - MAC
A friend of mine tried to download my games from my website but it wont work. I think it is because he has a MAC and I use a PC. It wouldn't even work when I took the files over to his house on a flash drive! I think this is a big problem and I would like to know if there is a way to publish your programs for use on a MAC instead of a PC. Thanks! CrazyEngineerKid There is no sure way to be able to install a .NET application on a Macintosh today and have it run natively. The virtual machine route is always an option... although possibly rather slow. One outside option would be to use Mono ... assuming it has a sufficient level of compatibility for your app... unfortunately I’ve never had much ...Show All
bobengel How do I
How do I Insert a KeyFrame in Visual C# . Please answer,the Rocket Rocky Csharp manager can you explain by what you mean by "KeyFrame" ...Show All
pgmdsg Memory / speed issues with loading text file into SQL express database
I put together a sub to stream a text file into a database using vb.net express and sql server express editions. The text file is about 1.5GB and consists of about 2 million rows which will be parsed into 122 columns. I setup the database with 123 columns, the last column being an autonumbered index. Each of the columns has a maxlength set to the width of the data in the text file, and I use that maxlength along with the mid function to parse the data. It all works fine, but I wanted to get some opinions as to the structure of the code to see if there's anything I could do to optimize it. It took about half an hour to load up 37,000 lines, which means I'd need to run it for a full day to get the file loaded. I also have 3 additional fil ...Show All
prosen Strange issue when building an app :-s
When i build an application in visual studio express my firefox loads up and loads 3 websites. this is only when i build, install or run the application after install. Doesn't matter what i build i keep getting the same 3 sites. Does any one know what could be causing this not at all - we all learn! Even if this was to happen if you execute the application on its own, a website to just pop up would not be happen IF the computer did not have the correct components required to run the application. if this was the case, you would get error messages instead No virus and no Adware. My system is checked daily while im at work and by two different antivirus's and antispyware. Ill get the list of t ...Show All
brohans Winsock Where is it?
Where do I find the Microsoft Winsock Control 6.0 A website told me to load that component but I dont know how help please thanks. Hi Why not to use the System.Net.Socekt Namespace it has all the implemenation of Sockets. You can use High level and as well as low level socket programing through the managed name space. you would be better using the .NET Classes since they are easier and are specialized in some way as well as on the .NET platform, than using the "old" tools and classes/components http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx http://msdn2.microsoft.co ...Show All
Dr Adrian Colquhoun Problems with source control
We have had recurring problems with Team Foundation Server not handling source code correctly. Changed code is being left out during the Check In process. Get Latest fails to get the latest checked-in source code. This has happened with Excel files. Some Source files have been updated and some have not been updated. Now we have a case where several days worth of work was lost after the use of: Get Specific Version, checking the "Overwrite writeable files that are not checked out" and "Force get of file versions already in workspace" Any ideas Sorry to hear you're having trouble. I've seen a few forum threads raise ...Show All
aquaseal access database
I know there is a treat about this but it can 't solve my problem I've got vb express on 2 computers now, en when I try to connect by add new datasource, one my laptop i'vr got give a connection string , on the other pc , I can browse to the access database. I already removed the complete office and express editions and installed them again the same problem occures a simple question fot some but i can't find it why is there a difference, and I'vr tried several connectionstring , nothing seems to work Is there someone who can give me a push in the good direction thanks in advance greetz ivo It sounds like you need to configure the connection on your laptop. From what you ...Show All
Paryse Schema Import on SQL2K5 CLR Objects
Hi, I'm not sure if I'm asking this question correctly or not, but here goes. When I'm importing a Schema from a SQL2K5 database that has CLR(C# or Vb.Net) objects written for functions or stored procedures do they get shredded into my SQL2K5 project just as a T-SQL stored procedure would Thank you. Randy Pagels It will come over as a binary code. T-SQL window will not be totally empty but there will not have informatio about the CLR code. e.g. this is what I got in sql editor when I imported a CLR stored procedure in a db project. CREATE PROCEDURE [dbo].[StoredProcedure2] WITH EXECUTE AS CALLER AS EXTERNAL NAME [SqlServerProject1].[StoredProcedures].[StoredProcedure2] GO EXEC sp_ad ...Show All
Jim Shipley Trying to Incorporate a coded web test class in another application
Here's the situation: I have a coded webtest and I want to use this in another (forms) application so that I hand this app out to my testers whenever they want to run the functionality embedded in the code webtest. (The test creates new data entries for them by using the actual application.) So far I have not been able to get this to work. Here's what I did: I copied the webtest code in the form code area Then I created a button click action that instantiates the class and creates an object. Here's the code: Dim a As test.WebTest1Coded = New test.WebTest1Coded TextBox1.Text = a.strHi a.Run() The a.strHi which is in the class is used to find out if I instantiated this correctly and it does work. But the ...Show All
hazz Counting
I want to make a program where you click a button and the textbox tells you how many times that button has been clicked. However it only counts the first click. What have i done wrong Option Explicit On Option Strict On Public Class MainForm Private Sub xExitButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles xExitButton.Click Me.Close() End Sub Private Sub xCountButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles xCountButton.Click ' displays the number of times the Count button is clicked Dim numClicks As Integer ' add 1 to the numClicks variable each time the button is clicked numClicks = 0 numClicks = numClicks + 1 ' display message xMessageLabel.Text = ...Show All
John Lovrinic WorkFlow customisation
HI All, I am looking out to implement some specific scenario. Developer "A" is assigned some task by Manager "B". "A" is done with assignment now he set the status to Done now what i want to do is; once he says done work item should goto Reviewers Team to revirew the code. Developer "A" will not see any AssignTo dropdown so he will not have any control over to which reviewr this WI will go. Once A set status to Done the System should check the Reviewers Group find out which Reviwer is having Less Work Item & the route this Work Item to that reviewer. Let me know how to achieve this. Thanks, Vishal. The changed event would allow you to write a ...Show All
Miha Stajdohar Rearding the multiple projects
Hi all, I'm new to this forum and new to the world of VS as well, as I start to teach myself I keep comming up with questions everyday ,but what I do really think I need to know the most is that "when I open a projects with multiple solution , 1-how shall I know which is the main solution 2-can I debug selective parts from the code or should it just be as full code to be debugged " Thanks for all the help in advance Alaa M To clarify your confusion: 1. A solution is a collection of projects not the other way around. You can add projects to a solution by right clicking on the solution in the Solution Explorer and selecting "Add->New Project". Now if you have m ...Show All
DDTSI Pop up second listbox when certain criteria met
On my form I have a listbox that I have linked to my suppliers table in my sql database. I want to create a second listbox (linked to another table - supplierlocations) that will pop up beside the first if a user clicks on a supplier that has more than one location/branch. Sort of like when you click on all programs on the computer and the additional programs pop up out the side to be selected. I can create the listbox etc and bind it, I will probably use the visible property to have it appear when required, but what Im not sure about is how do I code the items (suppliers) in the first listbox (listbox1) to look through the second table (supplierlocations) and if the supplier has more than one location open the second listbox for the us ...Show All
