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

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

robinjam

Member List

Ben Santiago
niallhannon
Seppe001
pmxinos
Tovdb
MMEZIL
pjwhams
Marcel leclerc
Exploder
Zero WangXin
BiffJC
Susan S
Chuck Heatherly
Beast Forever
Zindros
RARiedel
onlyican
Harshil_Patel_5326c0
pc_bond
Ronaldlee Ejalu
Only Title

robinjam's Q&A profile

  • Windows Forms Making a custom tooltip (label) work correctly when form is moved

    Heres the deal, I have 32 inventory slots, which are actually panels, and when they are moused over, the Tooltip , which is an autosized label inside an autosized groupbox or panel, I wanted it so when one of these 32 slot panels are moused over, it will display the tooltip at that position, wherever you move the mouse, as long as its in that panel, when you leave the panel, the tooltip disapears, I got it to work perfectly by doing this, until a friend I am working with discovered that when the form is dragged, it will be off slightly, off a little more than what it is supposed to be at.... I figured that it was just a variable problem, since I was using the same ones, so I created a new variable, to limit down my options, but the prob ...Show All

  • Visual C# How to deploy

    I have one big DLL called HISGUI.dll built using C# 2005 I also have HISSystems.exe and HISReports.exe applications built using C# 2005 Both HISSsyetms.exe as well as HISReports.exe makes use of HISGUI.dll. Because HISGUI.dll is used by more than one application; I thought it would be good idea to place HISGUI.dll in GAC. I made merge module setup project HISGUImergeMdouleSetup.msm where in GAL contains HISGUI.dll and its dependencies. Then I made setup project for HISReports.exe which contains just exe file and HISGUImergeMdouleSetup.msm. I did the same for HISSystems. Both were then deployed in a test machine. They work ok But then I made some changes in HISGUI.dll project and rebuilt the HISGUImergeMdouleSetup.msm ...Show All

  • Visual Basic [Console Application] Event when user logout/shutdown windows?

    Hi, I need my console application to execute a last command when a user logout or shutdown windows. Is there a way to catch those events or is there a specific event when windows try to close your application (you logout => windows want to close everything including your app). I found such thing for a windows form but not for a console application ... Thanks for your help. N. thanks for your answer ! You confirm what i found ... >< i'll guess i'll try with a window application ! ...Show All

  • Windows Forms User Control Inheritance and Namespaces

    I've noticed two unusual issues with Windows Forms user-controls in Visual Basic and was wondering if there was a workaround for either of these: You don't seem to be able to place a user-control in a namespace other than the project's root namespace. When you add the namespace to the class file you receive the error: The class UserControl1 can be designed, but is not the first class in the file. Visual Studio requires that designers use the first class in the file. Move the class code so that it is the first class in the file and try loading the designer again. I assume this is because the partial class is in a different namespace, is there a way to influence what namespace is used for the partial class You can't have ...Show All

  • Smart Device Development Using PocketPC serial port

    Can anyone give me some advice about using serial ports in VS2005 beta 2 on a pocket_pc. At first glance it seems easy, just declare an object as System.IO.Ports.SerialPort with events and process the datareceived event. Simple enough. However, putting this code in a class and tring to generate an event based on the DataReveived event results in   "An unhandled exception of type ' System.NotSupportedException occured in System.Drawing.dll" the Additional Information states "Control.Invoke must be used to interact with controls created on a seperate thread". This really has me confused since when you look at the code included, I am not even intentionally using threads. The application files included - opens as serial port when the use ...Show All

  • Visual Studio Express Editions Saving time into database.

    I have a timer in a labelbox and I need to be able to save the contents into a database. Whenever I try to save it, I get this error: Column 'TimeOut' does not allow nulls. The error is right, it does not allow nulls, but I was trying to save a time in there, not leave it blank. The only thing I can think of is that it is not converting the labelbox display to a string. The line of code I have to copy it into the database is: NewDayOut.Item( "Time Out" ) = TimeBox.Text where newdayout is the name of the row I'm trying to add, Time Out is the name of the column, and TimeBox is the name of the labelbox I'm using to display the time. I'm going to keep working on it, but if anyone can help, it would be appreciated ...Show All

  • Visual C# StackOverflowException was unhandled.

    Hi, I'm trying to call a method which exists in Form1.cs file from a UserControl file called UserControl1.cs . This is how i'm doing it: Form1 inst = new Form1 (); inst.server_Start(); Now when I run the program, i get the above mentioned Exception. However, when i remove Form1 inst = new Form1 (); along with the method call, the program runs just fine. What should I do Thankyou for replying guys. The code inside that particular method which i was calling was stuck inside an infinite loop; tcplistener, it kept waiting for clients to connect...Cheers. ...Show All

  • Visual FoxPro Genral question about FoxPro

    Hi, I'm using VFP 6.01 ODBC driver to connent perform querys, etc. When I'm using VFP 9.0 i'm and creating a query with the "query wizard" the query take less time then it's taking me (i'm using SQLExecDirect). what can I do to get better resualt can work with FoxPro driver directly Or maybe OLE DB is more efficient I have someother question can i get the number of records returning from the query Now i'm using A Count query to get the number or recods. Thanks Ishay Both ODBC and OLEDB drivers are fast and OLEDB driver is preferred. There were even some reports that VFPOLEDB driver results were faster than native VFP (I have never tested myself). ODBC driver isn't updated sin ...Show All

  • Visual Studio Express Editions weird exception

    THe below codes create an Access violation exception which I could not fix ptmp = a; sortedlist=a; //process of joining both lists, into a single list begining at a while (ptmp->next!=NULL) { ptmp=ptmp->next; } ptmp->next=b; Would you please help me Thanks Why When I create an instance of my class; hw01 first(1); Then, call my function of that class. So why should I create an extra function for this Thanks ...Show All

  • SQL Server Trigger not executing

    I will try to keep this as simple as possible and make a long story short. The college I work for has bought a third party package to basically run the operations of the school. There is a component for registration, admissions, billing, etc. It also has a web component so students can access their school information from anywhere. The backend for all of this is SQL Server. To make things easy, the vendor has provided us with the steps to bulk load users, via DTS, into the system and create their accounts for the web portion. The way this works is as follows: I create a CSV file which I then load via DTS into their "Bulk Load" table. This table has an "on insert" trigger that fires off when the load happens on the &q ...Show All

  • Visual Studio 2008 (Pre-release) No appropriate XAML tags for inline code

    According to the documentation (...), in an XAML document one can have inline code which contains, say, C# code for event handlers. Is it possible to insert such code in an XAML created with Visual Studio If yes, what is the correct tag which should contain the CDATA element In the articles that I consulted, either <def:Code> or <x:Code> is used; however, these tags always generate errors when I try to compile the project. This is what I did: - I created a new project (WPF or XAML browser); - in the XAML editor, I added some controls - say, a <Button>; - I added a handler for the button, with ' Click="OnClick" ' - I wanted to have the code of the handler in the XAML file. For this I tried to ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA/Xbox 360 memory management heads-up...

    I was just browsing through some docs on the 360's heap manager, and it turns out it is a compacting mark and sweep collector rather than the generational model used on the desktop... So... what's the deal regarding: Large block allocation (will it have a large object heap like the desktop version ) GC pauses times (do all threads halt during GC) Rico Mariani recommends a heap size equivalent to the Gen 0 size on the desktop, i.e. ~cache size. That seems way too small unless we are dumping lots of game data into unmanaged memory! Andy. AndyL wrote: I doubt you'll even be allowed unsafe code blocks on the 360 due to the security implications. You're correct. 360 games using GSE will exist in ...Show All

  • Visual Studio Team System Customize Team Foundation Server instance of Sharepoint Services

    We have a corporate Sharepoint Portal Server setup that has a 'Virtual Server Gallery' with a 'Office Spreadsheet' webpart. Is there a way to add this to our Team Foundation Server instance of Sharepoint Services so that the 'Office Spreadsheet' webpart can be added to Team Sites I've also posted this to the Sharepoint Communities forum. Thanks, John ...Show All

  • Visual Studio Express Editions Error when uninstalling MS VC++ 2005 Express

    Hi, there! I'm trying to uninstall MS VC++2005 Express, in order to install other version of the product in a very near future, but after the initial dialogs, it shows a Messagebox like this: Title: Visual C++ 2005 Express Edition Setup Icon: Exclamation Message: Setup is unable to determine a valid ordering for the instalation. See the error log for further details . Does anybody know what happens and how to solve it Point me where's the log referred on message could help too... BTW, the VC is not registered. I don't think it should make difference on this, but who knows... Other question: It's possible to install two different versions of VC++ 2005 on the same machine Such as Express and Professional TIA, Will ...Show All

  • Visual Basic How do I make a application close on button click?

    Topic Thanks Private Sub cbEverLovinButton_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles cbEverLovinButton.Click end ' or application.exit End Sub ...Show All

©2008 Software Development Network