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

Software Development Network >> Michael Vainer's Q&A profile

Michael Vainer

Member List

rravech
kcornwell
sciFiFan
A__alex10
shafiqm
Mike9000
Soumya B
Stark77
Duncan Woods
dakerson
BryanCaf
shekhar saran
PhilAJ
Athlon1600
james_cline_
Rups11
Rassol
ccote
PhillyPa
satab
Only Title

Michael Vainer's Q&A profile

  • Windows Forms windows forms 2.0> when close button on title bar is clicked

    windows forms 2.0> when close button on title bar is clicked, it should display message box for confirmation if yes, window should be closed thank u, but one more similar problem my form , by default , loads in maximized window state so it is shows restore button on the title bar, I want to disable that restore button i will be very thankful if u help me ...Show All

  • Windows Forms RichTextbox image

    Hey, in Visual C# 2005 is there a way to make the rich textbox have a background iamge Thanks :) wow...ok well I did that...but now how do I set it to have it in the Rich Text Box in the program     Thanks :)   EDIT: WOW, thanks alot! I figured out what it was, now I can see it and use it, wow that usercontrol thing might come in handy for me alot after all, now that I understand what you can do with it now.   Thanks :) ...Show All

  • Windows Forms User interface forms programming

    Hey guys... i am programming a user interface on a windows mobile form with c#, and the problem is, i will have much layers ( with panels and stuff ) so sometimes it get's confusing programming with so much things in site... is there a way to make visible and invisible one part while i program another Allow me to jump in here for a moment. Right click on ToolBox, and say "Add Items..." Browse to your dll that contains the control you made Then your control will appear in the Toolbox as a cog icon. ...Show All

  • Visual Studio Team System how to use generic test to run vb script

    I have an existing vbscript which do the actual testing. And I can put this command into a generic test: "cscript.exe myscript.vbs". In the script, I use WScript.Quit(1) for test failure. But the question is how can I pass the return value from script host to Generic Test and tell it's pass/fail Thanks, Frank Hi Frank, If your existing test uses process exit codes to communicate whether the test passed or failed (0 for passing, any other value for failure), you can wrap it into a generic test with no problems, everything should be fine. If you want detailed results, then you will need to modify your test sources so that they use an XML file to communicate the detailed results. The XML file must conform to th ...Show All

  • Visual Studio Express Editions Using a variable to specify a label using ctype

    I have various labels named ALabel, BLabel, CLabel etc. I wish to hide these labels using the following sub '------------- Sub hidelabel( ByVal x As String ) CType ( Me .Controls(x & "Label" ), Label).Visible = False End Sub '------------------------- What have i done wrong here Also if the sub took in a number as an input (e.g. my labels were Label1, Label2, Label3...) how would i change the code (perhaps using .tostring ) Can anyone point me to some further reading on giving controls variable names Thanks in advance works fine here. the problem mostly could be because the label was not found on the form, so check to see that the label does ...Show All

  • Software Development for Windows Vista Any one with ASP.NET Example

    hi guys i am in urgent need of sample showing Workflows initaling and integrated in ASP.NET 2.0 , i happen to read article in MSDN i think DON ESPITO , its focus on basics and issues . Can any one point good source on asp.net 2.0 and WF integration. I have a couple example on my blog that can be found here . ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Checking for capabilities

    I have a simply game where I'm drawing a flat terrain made up of tiles, each tile being made up of two triangles, and I'm using index + vertex buffers. On my computer (Geforce 6600GT, AMD Barthon 2600+) everything works fine. On my laptop (Centrino 1.7, Intel on-board graphics) nothing shows, so I guess the vertices aren't being drawn. I'm assuming this is because the on-board card does not support some feature that the 6600GT supports. I checked the GraphicDevice.SoftwareVertexProcessing property, and on my computer it is false, while on the laptop it is true, so I'm assuming that's set right, since most on-board cards don't support much hardware stuff. I'm also using a BasicEffect so that might be it.. I guess I have to check some ...Show All

  • SQL Server SQLDependency is very slow

    I posted this in the .Net data access forum with no replies, so I'm trying it here and apologize for the cross-post. I'm researching using SQLCacheDependency in an application to keep caches up to date between applications. I could also use SQLDependency, just haven't tried that yet. I've tried a test where I read 1000 rows from a database, cache each one, and create the cache dependency. The dependencies work fine. My problem is that it is 100 times slower to read and create a dependency than it is to just read the row. At this rate, I need a 99% cache hit ratio just to make my caches break even! Is caching even worth it at this rate Why is it so slow Thanks very much for any insight. Here is the code: for (int i = 0; i < 1000; ...Show All

  • Visual Studio Static Linking

    How do you use Static Linking in VS2005 ...Show All

  • SQL Server update statement

    Newbie Question: Im trying to update a table column to a new value and I receive an error, here is my statement: USE PD51_Data; GO UPDATE CASENUMBERS SET CaseNumTypeID = 130 WHERE CaseNumTypeID = 101 AND CaseNumber BETWEEN 199999 AND 600001; GO I receive this error Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '9368----' to data type int. What did I forget I am trying to UPDATE a table called CASENUMBERS with columns Column Name Data Type Allow Nulls CaseNumberID Int No CaseID Int No CaseNumTypeID Int No CaseNumber varchar(50) No I need to change all rows with CaseNumTypeID of 101 to 1 ...Show All

  • SQL Server Deploying multiple files through a package

    Hi I am working on on SQL Server Integration Services and facing few problems in it. Actually am supposed to create a package that would automatically pick excel spreadsheets with a specific format and import it onto the SQL server. (Lets say , there is a company named AB and they have got various products named CD,EF and GH and each product has its own spreadsheet in which its monthly sales(JAN, FEB,...NOV, DEC) is given. So i have to build a generic package for each product (lets say CD) so that i don't have to import every spreadsheet seperately for each month. To summarize i just have to build a package where i can deploy the various spreadshhets again and agian instead of building a package for each and every month spreadsheet s ...Show All

  • Visual C# accessing VSS database

    Hi   I am trying to access VSS database , located on the server and I get an error message Database does not exits. private IVSSDatabase vssDb = new VSSDatabaseClass(); private VSSItem objProject;   private void Page_Load( object sender, System.EventArgs e) { string path = @"\\dev01\VSS\General\srcsafe.ini"; string username = "admin"; try { Response.Write("<BR> " + path); Response.Write("<BR> " + username); vssDb.Open(path,username,""); objProject = vssDb.get_VSSItem("$/Framework", false ); } catch (Exception ex) { Response.Write("<BR>Exception error : " + ex.Message); } }   //exception error: Exception error : The Sou ...Show All

  • Visual Studio Express Editions What Code question

    Hello to All: What code would I insert and use to make a message box appear when the user does not select the proper buttons on a form In other words I have a form that has three buttons. Two of the buttons are selection buttons that takes the user to two differnet forms. And the third button also take the user to another form, However I want a message to appear if the user selects the third button first. So in other words the user must select either the first or second button before the user can select the third button. And if the user selects or presses the third button without pressing the first or second button then a message should appear telling that user that they must select the first or second button before they can select the ...Show All

  • Visual Studio Change a report connectionstring at runtime

    Hi, I have one local asp .net report that must read the data in one of the two system databases... If I'm working in database A, I need the report to read that database, if I'm in database B I need to connect the report to that database, etc. I'm trying to change the connection property of the TableAdapter in ObjectDataSource_ObjectCreated, but i'm completly lost right now! I'm trying to set the connection like this. ((DataSet1TableAdapters. coq1TableAdapter )(e.ObjectInstance)).Connection.ConnectionString = "..."; But this error occures. Error 7 'DataSet1TableAdapters.coq1TableAdapter' does not contain a definition for 'Connection' C:\Inetpub\wwwroot\COQ\dlgViewReport.aspx.cs 87 70 C:\...\COQ\ Anyone k ...Show All

  • Visual Basic Genrating reports using MS Access in VB.NET

    I have tried to google it and then tried to search on codeproject as well but unable to find an article in which there is some good guidlines and walkthroughs for making reports using Ms Access in VB.NET. Can any one help me or refer me to some good link . You might want to look at Crystal Reports. I am unsure if you can use the access reports, but I know that Crystal Reports will get the info from MS Access, and you can then use the Crystal Reports Viewer in VB to view the report. ...Show All

©2008 Software Development Network