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

Software Development Network >> B.Stark's Q&A profile

B.Stark

Member List

Tone Southerland
Wayne Pfeffer
Laxmi Narsimha Rao ORUGANTI MSFT
toreddie
Kamii47
Jough
rwbogosian
Alex2200
Hossam Abdel Wahab
SekharPC
NatCoxall
Jeanne Tiscareno
ThatGuy FromThatPlace
DavidThi808
jason.t
Mamta M
KamAbh
kidwidahair
VIKI esquire
kawano1h
Only Title

B.Stark's Q&A profile

  • Software Development for Windows Vista confirmed bug in delay activity

    Everyone, I just wanted to let anyone who is battling the delay activity know that buried deep in the sharepoint team's blog, is a comment that confirms the bug. My experience is that the delay activity works fine until an object is persisted to the database. Once persisted (dehydrated), the delay activity doesn't cause the object to rehydrate. http://blogs.msdn.com/sharepoint/archive/2006/11/30/developing-workflows-in-vs-part-6-deploy-and-debug-your-workflow.aspx#comments the 3rd from last entry from Eilene Hao (a member of the Sharepoint team). # re: Developing Workflows in VS: Part 6 - Deploy and Debug your workflow Hi guys, there's a bug on delays at the moment; we're working on a patch that's almost ready. ...Show All

  • Windows Forms Allowing a form to stop the application shut down procedure

    An application has a main form, which opens other forms. If these forms have the main form as owner (eg. by using otherForm.Show(MainForm)) then when the application closes each form has to ability to cancel the shut down procedure in the FormClosing event. However using the otherForm.Show(MainForm) method to open a form, makes this form always to stay on top of the main form. Not using this method to open a form, does not allow that form to cancel the shut down procedure of the application (when the main form closes). Is there a way to have both! (i.e. allow a form to cancel the shut down procedure, but not keep the form on top of main form) Thanks, Dimitris nobugz wrote: There is a harder way if that floats your boat. You c ...Show All

  • Internet Explorer Development New bug found in IE 7

    I believe I have found a new bug in IE7 IE7 takes my html code and deletes some source code automatically. I use Microsoft Frontpage 2003 and develop my html code. When I put this onto my ftp site all works fine in previous versions of IE. But when you open the webpage in IE7 the source code is different than when you open the page in IE6 Why would IE7 delete some source code Below are the two versions = I open the same html file with IE6 and IE7 and do a "View Source" and you will note that they are different. *************************************************************** Version IE7 => <p align="center"> <a href=" http://www.manufacturing-today.com/ " target="_blank& ...Show All

  • Visual C++ unexpected arithmetic results, can someone explain please?

    I'd appreciate someone helping me out on this simple question. 5 / 9 * (c-32); results in 0 (c-32) * 5 / 9 ; results in the expected answer Is this the expected behavior in C++ If so, would you point me to the explanation I'm currently working through Robert LaFore's C++ book and haven't run across an answer for it there. I'm using Visual Studio 2005 Pro V. 8.0.50727.42 and .NET V. 2.0.50727 Jeffrey Everett Thank you everyone for the answers. Once I changed the expression to 5.0/9.0*(F-32.0) it worked. I also changed variable from float to double becuase the compiler complained when I added the decimal point. I sure need to study this a bunch more. Thanks again ...Show All

  • Windows Forms Closing forms and controls

    Using VS2005, windows forms, c# I have 6 forms, some of them children, some have user controls on them. In the main form I check that a file exists, if not then I want to close the application. Using Application.Exit(); doesn't seem to work. What is the best way to close everything and exit No in fact no other forms are loaded at this point. this is my code: public frmMain() { InitializeComponent(); //Set all the global variables this .fnSetGlobal(); } #region Form //------------------------------------------------------ private void frmMain_Load( object sender, EventArgs e) { //Show the Developer name this .tsDeveloper.Text = GlobalVars. GV ...Show All

  • Smart Device Development How to use database for pocket pc application

    Hi I have a need to work on pocket pc application. Scenario: In general user will take database backup from database server to local system. User perform some changes to his local database based on his requirement. Again user connects to database server and click on update, local database should update to server database by informing each record status to the user. ex: record 1 updated / call closed do you want to update Here local database is going to be Pocket pc database and server database is on SQLDatabase. Can any one suggest best way to implement this feature in Windows Pocket pc, c#. I would appreciate your reply. Thanks, I have need to work in pocket pc application. Scenario: ...Show All

  • SQL Server Performance of sqlserver drops few times per hour

    Approx. 3 times per hour sqlserver is writing data for 8 to 10 seconds. What it is writing i dont know, but the result of this is that the duration of executing queries is much larger then normal ( 10 times ). Normally the query takes up to 400 milliseconds, and during this writing problem, it takes 6 or more seconds. Sqlserver is not doing backups when this happens. Does anyone have any idea The first this I always do is run up NT performance monitor to see if the server itslef is doing anything. Performance graphs I use are all the CPU's and logical disk %read , %write , Avg Disk write queue , Avg Disk read queue. Disk queues should be less than 2 per spindal eg if you have 10 ...Show All

  • Windows Forms Question about accessing properties, methods from a user control

    Hello! I have a problem which is frustrating me. Why won't the roperties and methods that are inherited from my custom user control work on my Win Form I have declared the properties and methods as Public and Intellisense "sees" the property if I call it from the Form. But, the frustrating part is that the property does not work. It is a simple property that changes the string value of the text on a label. The label's container is a ToolStrip. Here's the property: Public Property DisplayApplicationStatus() As String Get Return Me. label1.Text End Get Set ( ByVal value As String ) Me .label1.Text = value End Set End Property As I stated earlier, VB.NET "sees" ...Show All

  • Visual Studio 2008 (Pre-release) Creating a brush from the text?

    WHat's the easiest way to create a Brush from some text at runtime It is more performant to use a DrawingBrush with a GlyphRunDrawing, as opposed to the VisualBrush with a TextBlock. For more info... http://windowssdk.msdn.microsoft.com/en-us/library/ms749021.aspx#drawingbrushintro ...Show All

  • SQL Server Problem with Slowly Changing Dimension-transformation

    Hi, I have a problem with the SCD-transformation in SSIS. I have a variable that holds the batchid for the current batch and I want to add this variable to the datapipline in the Data Flow Task. This is done by using a Derived Column, so far so good. The problem occurs in the Slowly Changing Dimension transformation where I do som evaluations of changed columns BUT I don’t want to do any evaluation of the batchid-variable because then all historical batchid will be updated. I only want to update the batchid for row that have changed in the current batch. Is it possible to do this in any way without adding the Derived Column after the SCD transformation Thank for any help!! Patrick I am not sure I fully u ...Show All

  • SQL Server Best practice for use of roles with the SQL Server agent ?

    Can someone give a brief introduction to how to setup the SQL Server Agent acording to best practice Here i think of the use of the SQL Server Agent in relation to: - What role to run the service under - Running packages with password encryption on sensitive data - Running packages stored in the msdb - The use of different owners of jobs/packages ...Show All

  • Visual Studio 2008 (Pre-release) Propogating inherited DPs to the adorner layer

    I have a TextBox whose adorner layer has an adorner which contains a ListBox. The ListBox displays strings (suggested spellings for misspelled words in the TextBox). When the user spells a word incorrectly, they can press F1 to display a list of suggested spellings in the adorning ListBox. After they select a suggestion, the typo in the TextBox is replaced with the selected suggestion. That part works. I'm having a problem with visual settings. If I'm not mistaken, the adorner (and, hence, the Listbox) is not in the Window's visual tree. That means that the inherited dependency property values of the Window (let's say the FontSize property) will not propogate to the ListBox. With that being the case, how can I achieve such propogation ...Show All

  • Visual Studio Express Editions Can I replace 7 chars with 5 chars at the beginning of a string?

    #include <string> using std::string; s.replace(0,5,"12345"); // replace the 1st 5 characters s.erase(5,2); //then delete the superfluous 2 or is there a better way Not really in this case, as standard string just moves the "begin" pointer to the start of the valid data, it only reallocates memory if there is not enough space in the string. ...Show All

  • Visual Studio Doesn't build 1 .xml file

    Hi; When I run:   <MSBuild Properties="Configuration=Release" Projects="WindwardReports.sln" Targets="Build"/> for one of the projects it does not build the bin\release\lib_name.xml file. It is set to do this in the project file and when running this from the command line (using devenv) or from nant it does build it. This is a J# library we are building. Any ideas thanks - dave Do you have any more information about this problem Just wanted to see if my assumptions are correct: When you run the sln with devenv.exe or nant the lib_name.xml file is placed into the correct directory. How you are invoke msbuild on the project that contains <MSBuild Properties="Configuration=Release" Projects ...Show All

  • Visual Studio Use dataset in Custom code

    I have 2 datasets, one with five dates and the other with the main data for the report. These five dates will be column headings for the report. Since there isn't function for getting, the Second, Third, etc. like there is for First(), I'm creating some custom code to get the date. I thought I could do something like: Public Function GetDateField(Idx as Integer) GetDateField = dsDates.Rows(Idx).Item("record_date") End Sub but that's not working with "dsDates has not been defined." How do you work with the dataset in Custom Code Thanks in advance to anyone who can give the syntax for this. Carl Albert, I appreciate your attempt to answer my question. Thank you. Now t ...Show All

©2008 Software Development Network