Bandobras's Q&A profile
Windows Forms ClickOne on the latest Community Drop
If you have the latest community drop, there is a bug that you will likely hit. If you have the community drop, set the following regkey: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ .NETFramework\ DeploymentFramework "SkipSignatureValidation"="True" & ClickOnce & VS Publi ...Show All
SQL Server Show Message if dataset is Empty
Hi ! Is it possible to not display a report when the dataset is empty and in this case show a message to tell that there is no data to display Thanks ! Data regions (matrix, table, list, chart) and subreports have a so-called NoRows property. If set, this is the message to display in a textbox (which replaces the data region when no rows of data are available). Note: the NoRows property is available in th ...Show All
Visual Basic win forms
hi, i want to create a form with no borders. in this case the - if i set the border to "none" on the properties window - the form is no longer moveable on the desktop but how can i create a form without borders that i can move You can catch the MouseDown , MouseMove and MouseUp events to move your form. Know when the mouse button is down (between MouseDown and MouseUp events) and move your form with relative data that you get fro ...Show All
Visual Studio SQL String
hi, i need to pass SQL string into report from VB code, like: select * from Orders where ..... i haven't anything about thi Keith, thank you for reply My opinion is that RecordFormula is not good idea for thousand records, but for few records. When RecordFormula is used, the records are ALL get from DB and then filtered by Report, you can image out which results is! I'm attemping to use Stored ...Show All
Visual Studio Express Editions Appending text in textBox control
Hi All, I have a webBrowser control in my C# winform app. This works beautifully and I have a textBox control (called txtAddress) as the address bar. This also works beautifully apart from one small detail. I have noticed that when typing in a URL to navigate to I have put http:// at the beginning of the address. This is not a problem for me but I know that some of our users will only put the www at beginning of the addy. To get around ...Show All
SQL Server MBSA 2.0/SQL Server 2005
When will there be a version of MBSA that does the SQL Server checks for SQL Server 2005. MBSA 2.0 does not. Thanks, Sharon Sharon asked the question about MBSA and SQL Server 2005 in november 2005 - has there been any progress on this yet ...Show All
Windows Forms How to set Font Size in code?
Hi, I am new to C# and have been searching for a simple way to set the Font Size for a textbox control. When I try to set it in the class constructor I'm told it is a read-only property. I've looked thru many help topics but can't find a clear answer. TIA, Karl Fontsize is ReadOnly property but you can change Font Structure with similar code textBox1.Font = new Font (textBox1.Font.FontFamily.Name, 12.4); ...Show All
Architecture Why use an application server?
My boss wants me to explain to him the advantages of having an application server in our web app. Currently our web app talks directly to SQL Server. What are some of the pros and cons of having an application server in this type of application --SY As you point out, Anjana, there are multiple hosts available. But Microsoft's mainstream application server is Windows Server itself. http://www.micro ...Show All
.NET Development C# - create a datbase and update information
I have been a Visual FoxPro programmer for many years (Bad Luck!) I have created a simple application. Created a database with 1 table (Customers). Created a dataset from this Dragged and dropped the controls from the dataset onto the form which dropped the table adaptors etc below the form. It set up the controls correctly Adding and changing data to the form all works and saves the data to the data set It will not save it back to t ...Show All
Windows Forms Listview questions
Hi all Can someone please post me some code on how to register and handle the event of the user clicking/scrolling the vertical scrollbar on a listview. Secondly, if I allow the user to reorder listview columns, what is the best way to keep these re-orderings when the user closes the app and opens it up later Writing the index positions of each col header to file xml Thanks to everyone Tomas ...Show All
Visual C# method signature problems
I am involved in a project whereby I have to use a methods from a Win32 dll. There are two methods for which I can't write signature in C# I have even tried using p/invoke wizard, but it didn't gave the right answer. The C/C++ declaration for these methods is BOOL __stdcall CodecStart (int hRadio,void __stdcall (*CallbackFunc)(void *),void *CallbackTarget); and DWORD __stdcall CodecRead(int hRa ...Show All
Visual Studio Team System SQL Express Install Problem
I am ready for the bridge, or a breakdow or both, I have un-installed, re-installed, used the .net cleaning tool and the Beta cleaning tool used Aron Stebners clean up directions. tried to install an instance and default and have tried to install as a part of Web Express Install and a stand alone install and still I cannot get SQL Express to install VB Express and Web Developer installed without a problem. I have .net 1.1 and 2.0 on my mach ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tutorials converted to J#
Hello I'm looking for a tutorial that shows the most simple DX-program ever, just how to create a simple plane/box/polygon. I've looked everywhere but all i can find is "create your own battletank game", "your own flightsimulator" etc etc. I'm using J# but there is almost no tutorials for that so i have to use C#-tutorials and convert them but that takes alot of time, specialy if the tutorials has mixed in some piece of flightsimulator code in i ...Show All
Windows Forms MDI has PROBLEMS
Many events do not fire when a form becomes a child form. If I skip the step of "something.MDIParent=ME" the form works perfectly-- however once I put it back as a child form I lose many events. Is this a know bug -- I&nbs ...Show All
Windows Forms Whenever I try to introduce an animal i get a stack overflow in terrarium.exe
Does anyone know what might be the issue with this THanks, Paul Tyng Well try to create some good bug then ..... :) like one we have got Terr(o)rium :) lolz..... I was so enthu about this stuff when I first read about it  ...Show All
