Software Development Network Logo
  • Visual Studio
  • Microsoft ISV
  • Architecture
  • Visual C#
  • Game Technologies
  • Visual Basic
  • Visual FoxPro
  • .NET Development
  • VS Team System
  • Visual J#
  • Visual C++
  • SQL Server
  • Windows Vista
  • Windows Forms
  • VS Express Editions

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

Ballu2006

Member List

Moreno
ProfRoger
JohnFTZ
Eric Vandenberg
velocetti
ShaneLawrence
Fiona Fung
Kashif Arshad
Nick Wang
Craig Demyanovich
slothmo
John Bevington
TABARRY
snacks
AndrewWhitechapel
Saul
Rick Warr
Per S
djjos
Diogo Traldi de Oliveira
Only Title

Ballu2006's Q&A profile

  • Visual FoxPro Strange Visual FoxPro provider error

    Hi, I'm getting a really strange error. I use the Visual FoxPro OleDb provider to access a FoxPro .dbc database. I have a table where I have several Numeric fields that're giving me problems. When my application tries to access the .dbf table, most of the time it runs OK, but on certain rows the provider cannot access the data in them and throws an InvalidOperationException. For example, I have a field called BMI, type: Numeric, width: 4, decimal: 1, Index: none, NULL: false. When I try to open the table using the provider (for example, through the Server Explorer in Visual Studio), I get this in the BMI field in ...Show All

  • Visual Basic Form Opacity

    I am trying to change to form opacity on runtime. I have this: Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged If CheckBox1.Checked = True Then Me.Opacity = 30 Else Me.Opacity = 100 Me.Refresh() End Sub It does not work. Is there a way to do this Change it to : If CheckBox1.Checked = True Then Me.Opacity = 0.3 Else Me.Opacity = 1 Regards ...Show All

  • Windows Forms Is it possible to set up multiple Taskserver Servers and Replicate?

    Wow, Great Example! I have been playing around with disconnected recordsets, but this just blows mine away. Is it possible to set up multiple Taskserver Servers, and have them Replicate Back   I need to develop an application that has the flexibility of being used Online or Offline, and for lager Installations (power User and Remote Multi User Lan) I need the&nb ...Show All

  • Visual Basic Can I open a form when all I have is the name as a string?

    My project has a number of forms.  I would like to provide a procedure that would open one of the forms -- the form name would be passed as a string to the procedure.  The requested form is probably not already open. In other MS products, I would do this by iterating over a FormsCollection searching for a matching name.  No FormsCollection here.  I found another example that would build a collection of open forms, but my requested form is probably not already open. I can build a collection of forms by hardcoding each form name, but I would prefer to have a tool that will always have the current set of form names without ...Show All

  • SQL Server Frror: 4000 max string literal in Expression for datareader component

    Hi, I have a datareader component of which i am dynamically setting its sqlcommand statement with expression (click the background of dataflow > properties > expressions). Now my sql select statement has about 600 fields so that makes my expression statment "select field1, field2, .....from table1 where field2 >=" + @[User::dateforfield2] but when i evalute the expresssion (which is right), i get the error: A string literal in the expression exceeds the maximum allowed length of 4000 character and i think its because of the fields in my select statment causing my string literal to grow more than 4000 characters. Is there any way to ...Show All

  • Visual Studio Team System Doc open returns blank doc to non TS client

    Tried downloading the spreadsheets in the project management section of the portal site.   On an XP PC without any VSTS bits installed, they download empty. Is this due to some Excel/TSFS integration missing on the client PC   A sharepoint user would not normally assume they need to install something.  Can a warning be issued if this is required Trying to download a data bounded Excel spreadsheet from portal site to a machine with no VSTS bits installed would not trigger any warning since there is no TFS addin to detect and trigger a warning.  This is by design. ...Show All

  • Visual C# GDI+ Multi Thread

    I am using GDI+ to draw to the graphics object when an OnPaint event occurs. However, if you draw lots of things, the form becomes unresponsive until all of the drawing is done. Is there anyway to put the OnPaint event in another thread, so the form can remain responsive while the painting occurs Try to create classes that contain the logic and create a IDrawable interface or something with a Draw( Graphics g ) method. Then you can cache the Pen, Brushed or even an Bitmap representation withing the instances. Grey Young, please specify wish part you are intrested in and i will provide a sample. ...Show All

  • Visual C# byte question

    ok i understnad that in a byte type cant be stored a value between 1 and 255 or more i dont really know exactly.. but a byte should bet stored as 1001011100100111100 or thats the machine code You're showing a binary number which is far too big to hold a byte. The representation of a number is totally different to what it contains, in that you can represent the same number many ways, and the value is the same. Why are you asking this ...Show All

  • SQL Server How to get the SessionID from the html viewer?

    Is there anyway I can get the SessionID of a report viewed in the html viewer It seems that the html viewer hides the rs:SessionID from the url I need the session ID to pass to a webservice to save the report as MHTML exactly in the state it has in the reportviewer. Unfortunately I can not take advantage of the export function in the toolbar because, the report has to be saved in a specific place, given a specific filename etc. /Henrik Hmm.. I am using the render method. I need the SesionID to pass to the header. Does anyone know how to get the SessionID visible in the url ...Show All

  • SQL Server Management studio: how do I turn scripting option 'script object level permissions' ON?

    In Query analyzer you could set the scripting option so that the script generated the GRANT permission statements as well. You simply right clicked in the object browser on the view or stored proc and selected 'scripting options...' In Management however, people who are lot wiser than ingonrant peasants such as me have decided to hide this away. I have given up searching and are not proud of my stupidity, but I am humbly asking them : Forgive me masters for my ignorance, but can you please show me how to turn the option to script the on A question like 'Why did you remove that in the first place ' I would not dare to utter. ...Show All

  • Visual Studio Express Editions Suite integration toolkit failure during setup

    Hi, I downloaded Visual C# .net 2005 Express, but even before the setup continued, I got an error, something about Suite Integration Toolkit failure. Did anyone encountered this error before This is what I did : I downloaded the 2.9 MB setup file, and while it copies 39 out of 39 files and starts preparing for setup(the actual downloading and installation), this error appeared. I've a clean system and have uninstalled all versions of Visual Studio and any .Net framework whatsoever. I've a 2GHz Pentium 4, 512 MB of RAM and Windows XP Service Pack 2. Below is the screenshot for your reference. http://www.norse-myths.com/SS.JPG Thanks! Xeon. ...Show All

  • Software Development for Windows Vista When using WWF Beta 2.2, how can you update the parameters collection in a running XOML only State workflow?

    Tom, When using WWF Beta 2.2, how can you update the parameters collection in a running XOML only State workflow Thanks in advance, John Portnov I'm not Tom - but I'll answer anyway ;-) There isnt a parameters collection in 2.2. You have to create a class that derives from StateMachineWorkflowActivity - and that adds public properties (you can add one called Parameters if you'd like). public sealed partial class MySMWF : StateMachineWorkflowActivity { public static DependencyProperty ParametersProperty = System.Workflow.ComponentModel. DependencyProperty .Register( "Parameters" , ...Show All

  • Visual C# Application object model question

    Hello, I'm trying to implement an application class like this:  http://msdn.microsoft.com/VBasic/default.aspx pull=/library/en-us/dndotnet/html/automationmodel.asp But I can't get the Application object to work; the code is: private static readonly Application instance = new Application(); public static Application Instance         {             get             {                 return instance;             }   ...Show All

  • SQL Server How to save Hash Value on the SQL Server?

    How to save Hash Value on the SQL Server What SQL Server data type to use Hash Value looks like: {19,55,198,12,420,13,36,107,109,25,82,23,510,552,931,996,478,442,130,200} Shomer @ http://www.xtremejewelery.com http://www.xtremejewelery.com/watches/specials/ -------------------------------- From: Shomer Hi The best way to store the hash value is to use varbinary data type. If you have a binary representation, you can probably use that to store it directly. If all you have is a representation similar to that above, you can probably use two bytes to represent each of the integers in the sequence. - Christian ...Show All

  • Visual C++ what is the L before a string mean?

    I'm new to .net 2005 and saw this generated code this->btnUpdate->Name = L"btnUpdate"; What does the L mean before the "btnUpdate" string I've tried looking everywhere on the net for an answer with no luck. thanks Being more specific, prepending a string literal with L makes the literal of type const wchar_t*, as opposed to const char*. ...Show All

©2008 Software Development Network