HemeFlasher's Q&A profile
Visual C# Statusstrip Text Issue
All, I've been playing around with the new beta express version and noticed they have changed a few components. I am having some trouble with the new statusstrip and toolstrippanel components. With the new status strip, you can "assign" various panels to it but I have been unable to determine how to hide those panels and/or display the text property for the statusstrip itself. With the old statusbar it would look like: StatusBar.ShowPanels = true/false The new statusstrip component does not include this property anywhere. And for the text on the new statusstrip there is absolutuely a property for text but ...StatusS ...Show All
Windows Forms ListView sorting
hi there, i have a ListView on my form. Its 'View' property is set to 'Details' and it has several Column items in its Column Item Collection. I want the user to be able to click on one of the Column headings and see a little arrow facing down (Sort by ascending order) or an up arrow (Sort by decending) similar to Windows Explorer. How does one make this little 'arrow' visable to the user regards, there is good article on CodeProject that describes how to do it: Based on it I implement it in my project as I have internal class for comparing items /// <summary> /// Implements the manual sorting of ...Show All
Smart Device Development Close the message box just by touching screen
Hi, I am using VB.net and Visual Studio 2005 to compile a program. Some messages have to appear on screen in order to tell users what the program completed, such as, "Update Succeed", "Item Was Not Found", etc. However, in order to close these message box, users have to use pen to click the "ok" on the right upper corner of the message box. What I want is: instead of clicking the "ok", users can close these message box just by touching screen. How can I do that Thanks a lot. I don't see anyway to make the messagebox close without hitting ok (or whichever buttons you make available). Could you ...Show All
Visual Studio SolutionExplorer click event
Hello I've found almost every event in the book that the AplicationObject.Events has to offer. However, I can't find theClick event. I want to do some code whenever an item is being clicked on the solution explorer. Is it possible Avi Avi, You can use the EnvDTE.SelectionEvents. The Onchange eent is fired whenever the selection in the SolutioExplorer changes. HTH, Chetan ...Show All
Game Technologies: DirectX, XNA, XACT, etc. OSD Please Help
Hy guys! First of all: My English is bad. I want to write an OSD that overlapps everything i mean really everything. I want it for helpful use in Games so it have to overlap an active DirectX9 Application everything is there Keyboard shortcuts works but i realy don't know how to overlapp an Fullscreen Running Game... so please help me thx First of all thanx for the help but if i try to make the overlay visible (radio buttons) the app crashes causing: Faild to initialize the overlay manager: Error in the application. -2005532537 (DDERR_INVALIDPIXELFORMAT) why did the error happen ...Show All
.NET Development Class Library, NameSpaces and COM...
Is there any way you can use a Namespace in a VB Class Library and have all classes exposed to COM I need to use it in ASP (classic) but when I try to reference the second class by Library.NameSpace.ClassName2 I get an Invalid class string error. Library.NameSpace.ClassName1 works fine. I have the <ComClass(ClassName1.ClassId, ClassName1.InterfaceId, ClassName1.EventsId)> _ line above each Class (with appropriate name) and the corresponding Constants with unique id's in each Class. What am I missing Figured it out - a case of RTFM I guess: I created a Com Class using the ...Show All
Visual Studio Express Editions I am fairly new to C++ and need help with an error
Hello- I am very new to programing in general, I am a freshman in college currently taking a C++ class and our final exam project is to make a chess game. At first this seemed impossible with my current knowledge of C++ however with a little work and what not I have started the project and I see where it is headed. However I tried to compile the program and I am recieving this error 1>cl : Command line error D8016 : '/MT' and '/clr' command-line options are incompatible I have no clue what the error is telling me, if someone could/would help me out I would be greatful. Max- P.S.- Since I am a New-B to coding and everything if you do try ...Show All
Visual Studio Express Editions DirectX in Visual Basic
I have been developing 3d games using vb6 for a while, though i have not even managed to create a DirectX7 object in VB.Net 2005 Express edition. Can anyone give me some detailed guidance of how to create a DirectX7 object, including how to add references Just in case anyone else wants to know how to use DX7 in VB.NET 2005, I've figured out how: Add a COM reference to the DX7 for VB type library Add 'Imports DxVbLib' at the top of the form code, before the class decleration Now I know how to do it it seems really simple... ...Show All
Windows Forms About the forms
Hi, Just in the forms, I've not found out a way, by which we can insert some different items, like check box, text prompt field or the buttons. I think there should be a way for doing this. Any advices to this Thks & Rgds, HuaMin You'll have to be more specific about what you are trying to do. You are trying to insert controls onto forms What is the problem you are having ...Show All
Visual Studio Crystal report 4.6 printer option
Hi We are having a product developed in Visual basic 6.0 and in that crystal report 4.6 is used. Can anybody tell me how to set the printer options like seleting the printer from the available list, duplex printing, pages for printing etc. I could print in the default printer by CrystalRept.Destination = crptToPrinter CrystalRept.Action = 1 Thanks in Advance Sangeetha Hi Sangeetha, I was wondering, if you found the solution for your problem I have the same problem. Can you tell me how you solf the problem. Thanks a lot Phi ...Show All
SQL Server connect to S400 using SSIS
Dear all In my server had instaledd driver for ibm ole db connection "IBM DB2 UDB for Iseries IBMDASQL OLEDB Provider " and "IBM DB2 UDB for Iseries IBMDARLA OLEDB Provider " and "IBM DB2 UDB for Iseries IBMDA400 OLEDB Provider ". If i using dataflow and make connection with oledb and make query using query builder it's succesfully, but if i click column or OK or preview button display warning "cannot retrieve the column code page info from the OLE DB Provider". any one can help me In the Data Flow task click on the Source object (OLE DB Source - which is what I am assuming you are using). View the Proper ...Show All
.NET Development Transaction for two database connections
I am not sure if this is possbile. I have a request to develop a 'method' to do transaction over two database connections. Basically the requirement is, one connection updates a database and the other updates another database; but they have to a transaction. I know COM+/DTC may be the the solution to this problem, but I do not have any experience with COM+ except some basic understanding of COM+ concept. Can someone please give me some ideas on this Any help is appreciated. Thanks. If you are using SQL Server 2005, take a look at Promotable Transactions. The .NET Framework Provider for SQL Server provides support for promotable tra ...Show All
.NET Development Unloading AppDomain Objects
Hello - Having trouble getting the results I'm expecting when unloading an app domain object. I have a very simple scenario where I'm creating a new AppDomain object in a standard exe and loading an assembly from a dll file. The problem is when I load the assembly using the new AppDomain object, the assembly is also loaded into the original app domain. According to documentation, I would have to explicitly tell the JIT complier I want this kind of behavior by specifying so in the LoaderOptimization attribute of the sub main routine of the assembly. Here's the sample code (mostly sample from the VB.Net core reference) (AD is the modu ...Show All
Windows Forms Tooltip disappearing using tabControls
Hi guys, I've got an application where in my main windows forms I have a couple of tab controls. Inside each tabcontrol I have a bunch of groupboxes, and within each group box I have textboxes and checkboxes. I've attached a tooltip to one of these textboxes, however, the tooltip is displayed behind the windows form. I can actually see part of it, but the rest is covered by the windows forms. Has any one have run into this issue and how did you get around it. I've done a little bit of research but haven't seen any post like this. Thanks I made a small test and I can not reproduce what you explains. Can you reproduce this is ...Show All
Visual Studio Tools for Office Display Toolbar on IE
anyone can help me, how to display standard excel/created toolbar automatically when open excel file from IE. Currently we need go to menu view > Toolbar > Standard. any sample code/ briliant idea.. When the Startup event fires in Excel inside IE, some of the properties are not fully initialized and if you call Application.CommandBars[ "Standard" ] .Visible = true ; that will have no effect. Unfortunately, there is no satisfactory workaround I can propose at this time. You may try to use some event to call this code to see if it works. I was successfull in using the Paint event on a button control ...Show All
