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

Software Development Network >> Shirly Baruch's Q&A profile

Shirly Baruch

Member List

Heisler
Pejvan
DrP
imin
JPedroFS
James Siwula
shock56
Jyri Hujanen
Garyrg9
Barry Kwok
Roland H
RedChequer
Juice Johnson
Digital_Trucker
rwral
EnergyCrush
Ubon94
JWhitted
xzlc5188
sql_rv
Only Title

Shirly Baruch's Q&A profile

  • Visual C# Checking values of variable at runtime.

    I have created a C# project using Visual Studio 2003. I have declared a string variable 'strTest'. I want to check the values of strTest.Substring(0, 2) at runtime. I tried checking its value in quickwatch window but getting the following error: error: 'strTest.Substring' does not exist I get the same error for strTest.ToUpper() etc. but its working fine in vb.net. Can anyone plz suggest a solution. Thanks. Ashok Make sure the variable strTest is in the current scope. Where do you declare it and where is the current statement when you try to check the value You can also try the immidate w ...Show All

  • Visual Studio Macro shortcut key assignment not working

    Running Final Release. I have created a macro and now I want to assign a keyboard shortcut for it.  Near as I can tell I am following the directions correctly, but as soon as I assign the shortcut to the macro and run it, instead of the macro running, I see a repeat of the actions I just took to create the shortcut.  That is, to say it another way, instead of my original macro running, the keystrokes I just took to assign the shortcut run instead.  What's going on It sounds like you are recording the steps to set a key to a macro.  Did you specifically stop recording the macro before s ...Show All

  • .NET Development how to assign value to label dynamically

    hi, i having a problumn for assign a value to Label dynamically, i am using this code <asp:label id="Label1" runat="server"><%=Variable%></asp:label> Variable i have define publicly on code window, Please send me the solution Hi. First of all, ASP.NET questions belong at www.asp.net , they are off topic here. I'm pretty sure it's the text property you want to set. <asp:label id="Label1" runat="server" Text ="<%=Variable%"/> ...Show All

  • .NET Development No connection could be made because the target machine actively refused it

    I have created remote server, remote client, remote object and remote object helper class. Following steps describes what I have done and how I get the error. 1)      Remote Server will invoke a method in remote object 2)      The remote method will raise an event in remote helper class 3)      Adding event handler to the method catches this event in remote helper class. 4)      In remote helper class the same method again raises event. 5)      Then the client handler will catch remote helper class event and display the me ...Show All

  • Visual Studio Team System Organizing Projects into Products or Customers or Releases?

    Hi! We're trying to figure out how to best organize our VSTS projects. We have 5 different product all sharing the same core. We have core releases every 3 month, and a product release about every 6 month.The core is developed together with the product, so before the start of a new core release, the "core" functionality from all released product are merged into the Core. In addition a product are usually sold together with some customitation. This is done through developing some "add-on" modules to the product. So these are the different approches we are thinking of: One project per product. One project for ...Show All

  • Software Development for Windows Vista Security error hosting the WWF designer in a WinForm UserControl hosted in an ASP.NET page

    We've taken Lab 12 Exercise 1 and applied the same steps to create a WinForm UserControl that hosts the WWF designer. We're now trying to host the WinForm User Control (with the embedded WWF Designer) in an ASP.NET page using <object> tags. We're current getting the following error.  Does anyone know a quick&dirty way to get pass this System.Security.SecurityException: That assembly does not allow partially trusted callers.    at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Ob ...Show All

  • .NET Development Concatenate fields ?

    I am using a datareader. I want to get the data a row at a time as a delimited string without looping through the fields, that is in one shot, is there a way to do this Thanks for ANY help. I believe you could use ItemArray property of the DataRow to get all the values into array first. Then use String.Join method to concatenate the values into one string ...Show All

  • Windows Forms How to change "tick" color on trackbar?

    Hi everyone, We have a form with trackbar controls. The form's background is a dark-blue, with a foreground color of white. However, we can on get out trackbars to display black tickmarks, which don't show up real well on dark backgrounds (duh).  Is there any way to change the tick colors We've tried doing things like: Me.Trackbar1.ForeColor = Color.White Me.Trackbar1.BackColor&nb ...Show All

  • Windows Forms Does datagridview checkboxcolumn support text?

    VB 2005, DataGridView in UnBound mode: I am new to using the built-in datagridview checkboxcolumn type. I was assuming since this column type is similar to a checkbox, then each such cell would support both the box for the checkmark and a text string next to it. Is this the case, or did I just dream it up Assuming it was a dream, does anyone have a reference on how to make a cell in the datagridview behave like this where each cell can have both a True/False value and a text value Thanks! Found this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=141024&SiteID=1 ...Show All

  • Visual Studio VSS and SQL Server 2005

    Where can I find information about adding SQL Server 2005 database items to Visual Source safe I have tried the help files included in both SQL Server and VSS but have not found the information I am looking for. Basically I would like to add all of the items in my database to a VSS database so all of the developers in my office can check the objects in and out of the database whenever they make changes. Is this something that can be done from SQL Server 2005 without having to first script each object to a separate .sql file Any help would be greatly appreciated. Thanks in advance -Tim Thank you for the deta ...Show All

  • Visual C# byte to integer conversion - client server programming

    hello... I have written a client in java and a server in C#... when i write those programes in my computer, opening same port and listening to same IP...everything works fine. But when I move my server to another computer(also running win XP pro), at one point of the communication, i need to make multiple readings from server on integer value sent by client. The way i did it is by converting the integer into 4 bytes BYTE, and send it over, at server I convert them from BYTE into integer again. most of the time it will fails reading or converting the int. Those integers will be read in as an unreasonable large value or unreason ...Show All

  • Windows Forms ThreadStateException from background thread manipulating its control

    Hi, I came to this exception: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. and I don't know what to do with it. My application creates some Panels with a lot of components at run time (according to the database entries). Each panel takes a second or two to load so I decied to use multithreading and choosed the ThreadPool. Simply something like that: (for each page in Form_Shown) Thread.QueueUserWorkItem( <delegate to CreateFormPage> ) ... private Panel CreateFormPage( byte page) { Panel r = new Panel(); ...Show All

  • Windows Forms Sql Method calls

    I have not had a chance ot look through the source code, however in the white paper there are calls to SqlHelper and instances of DataSetTasks...where are these types and methods defined   BTW, thanks for writing this in VB.NET.  Now the C# folks will know what our daily struggle is with all of the C# examples.    I took a&n ...Show All

  • SQL Server Transfering and verifying data using temp tables

    Hi, I need to write code that uses temp tables to check data and transfer it to another table. As I understand, data has to be transfered to temp table, and then a loop will check each row for data integrity and move the valid rows into a new table. The code looks something like this. The problem is with this code, the destination table (table 3) contains only one record instead of 375. What am I doing wrong Select CustomerID, StaffID, Sequence, Bldg, Floor into #temptable from [06w_manukyan]..[Table1] declare @CustomerID char(10), @StaffID char(6), @Sequence int, @Bldg char(3), @Floor char(2) set rowcount 1 Select @CustomerID=Cus ...Show All

  • SQL Server SSIS Configuration

    Hi, My requirement is to have the connection strings for the source and destination to be a parameter for the packages that way they can be changed from the sql job scheduler. Please let me know how to go about it. Any help will be highly appreciated. Thanks Vijaykishan See dtexec.exe command line reference, in particular /Set parameter: http://msdn2.microsoft.com/en-us/library/ms162810.aspx ...Show All

©2008 Software Development Network