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

Software Development Network >> Bart Goltstein's Q&A profile

Bart Goltstein

Member List

Dave Gurr
bluestar
TimmyG15
Anabhra
red-ned
buckenn
UtsavV
Coleenh
JasonFx
dav3333333
Keith Brown
Byrd Man
Sprite64
Seppe001
SamuraiJack
nbrege
Dotnet Fellow
clint 2
chicagoclone
kenlefeb
Only Title

Bart Goltstein's Q&A profile

  • Software Development for Windows Vista Is there an activity to create a child workflow?

    WF Gurus, I need to correlate parent and children workflow(s). What is the best way to do this I need to have a parent workflow call child workflow(s) and use the data from WorkflowCompleted events of the children to continue processing. Is there an activity that can create a Child Workflow What is the best way to call a child workflow from a parent workflow Thanks in advance, JP I have such a sample here - http://www.masteringbiztalk.com/blogs/jon/PermaLink,guid,7be9fb53-0ddf-4633-b358-01c3e9999088.aspx ...Show All

  • SharePoint Products and Technologies Publish restores sites...

    Hi, Please I need help for this issue.. The thing is I did a new installation of WSS 3.0 , and I wanted to publish and old site I had. I have a backup of the wss_content database of the old site. So after creating a new application, I made a new site. Then I went to Central administration's option Content Databases and removed the content database of the new site. Then with the command promt, I did "stsadm -o addcontentdb -url http://mysite -databasename wss_backup_content" Once I did this, the content databases are in the application, I can see there is a site, and if I go to the site collection list, I can see my site. However, when I try to browse the site's adress i get 404 Not found. Is there something else I have to do .. ...Show All

  • Visual C# datareader?

    Here's a little background on my problem: I'm needing to do the following - for(int i=1000, i < number of enteries in row, i++) basically I'm wanting to take a row where 1000 represents an ID number. That number goes in ascending order from 1000 to however many enteries there are. I'm wanting to loop through each record (1000 - XXXXX) and make a change to another field in the database specific to the ID number in question. Any thoughts thank you for the speedy reply. Is there a property of dataset that I can use to determine if there are more records to read in my database ie dataset.hasRows ...Show All

  • Visual Studio Express Editions Console Application

    I am building a console application which runs in the background. Can you catch a key press or a key down or a key up in console application like in a window application Found the solution. The first Do loop will continue looping until any key is pressed. The second Do loop will continue until the Esc. key is pressed: Do Console.Write("Any key...") If Console.KeyAvailable() Then Exit Do Loop Console.WriteLine() Do Console.Write("Esc...") If Console.KeyAvailable() Then If Console.ReadKey(True).KeyChar = Chr(27) Then Exit Do End If Loop Console.WriteLine() ...Show All

  • SQL Server Parsing CSV name=value pairs into columns

    Hello smart SQL people, I have a field in the DB that contains name value pairs in the form of csv. Is there a neat trick (using a stored proc) to get it to be diplayed as in columns (maybe create a view around it or somthing ) EX. Select 'name1=val1;name2=val2;name3=val3' as MyData --> Returns MyData ----------- name1=val1;name2=val2;name3=val3 ============================================ How can i get it to return name1 name2 name3 -------------------------------- val1 val2 val3 I actually got it to display convert 'a=1,b=2,c=3,d=4' to nm val ----- ------ a 1 b 2 c 3 d 4 Im guessing converting that to a b c d ----------------- 1 2 ...Show All

  • Windows Forms Help in implementation of a magnifying glass

    I have an image viewer application which I want to apply a magnifying glass effect on certain area of the image. The problem I've run into is that when I slowly dragged the magnifying glass across (when left mouse down) the magnifying glass window didn't move smoothly. I believe it has something to do with drawing the graphics of the original image on the background. May someone please help me solve this issue Thanks. This "this.Update()" method call in picPanel_MouseMove() is probably the source of your problem. Invalidate(true) should be good enough. Actually, you shouldn't need anything there; Windows should detect that the moved magnifier window has revealed a portion of picPanel that ought ...Show All

  • SQL Server Updates executed regardless of conditional?

    Greetings all. I hope someone has seen this before. It's driving me up the wall. Here's the scenario. Import a table via bulk insert. Some columns imported need to have the first 6 characters stripped. Write a generic routine to do this. Here's the script: declare @pattern varchar(10) set @pattern = 'yn' --only 2 fields are to be used with this table declare @cnt int set @cnt = 0 while @cnt < len(rtrim(@pattern)) begin set @cnt = @cnt + 1 if @cnt = 1 and substring(@pattern,@cnt,1) = 'y' begin print 'updating f1' update TempImport set f1 = substring(f1,6,len(f1)-6) end if @cnt = 2 and substring(@pattern,@cnt,1) = 'y' begin print 'updating f2' update TempImport set f2 = substring(f2,6,len(f2)-6) end if @cnt = 3 and ...Show All

  • Visual C# Reflection: define get and set dynamicaly

    Hello, How do I define get and set methods for properties dynamicaly Maybe with PropertyBuilder, but I didnt find any sample. Thanks. What do you mean by define them Reflection involves using meta data to learn about existing classes and object... so to get a reference to the get and set methods of a property named X you might use the following: public class MyClass { private int x; public int MyProp { get { return x; } set { x = value; } } } ... Type t = typeof(MyClass); MethodInfo writeMethod = t.GetProperty("MyProp").GetGetMethod(); MethodInfo readMethod = t.GetProperty("MyProp").GetSetMethod(); But th ...Show All

  • Visual C++ Does Visual Studio 2005 provide code-template to easy programming?

    Hello all: I would like to know whether or not Visual Studio 2005 provides code-template to easy programming. For example: In JBuilder If I input 'fora', then JBuilder may create some code-template-stub for me as for(int i=0; i<.....) { } Does Visual Studio 2005 provide similar functions Thank you -Daniel I don't believe VC2005 provide such facility. Feel free to log your suggestion at http://connect.microsoft.com Thanks, Ayman Shoukry VC++ Team ...Show All

  • SQL Server How to enable "Force Encryption" for SQL Server 2005?

    I need to enable "Force Encryption" for SQL Server 2005, but I don't know which API can do it. I need to operate remote SQL server , so I cannot operate registry directly to do it. Who can help me Hi Michiel, I did not find any reference for setting sthis flag, could you point me in the right direction Didn’t find anything in the Properties nor Protocol properties. Thanks, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms Incremental autocomplete from database

    Hi All, I'm trying to find a way to set up an autocomplete in an incremental fashion - I can't pre-populate the data due to the size of the data (~50,000 rows and growing). The process would be user types, timer is set to fire after 0.5 second of inactivity to query database and populate autocomplete, user refines entry via autocomplete, query again and so on until a complete match is made. Is there anything out there that can handle this Or what path should I go down to start rolling my own Any help is most appreciated. Thanks in advance, Scott I've whipped up a control - still needs a some work but the core of it's there. If you want a copy of it, send me an email (bit big to post here ...Show All

  • .NET Development Quick .Net Networking forum tips

    Here are a few suggestions (in this order of relevance) that make it sure you get the best answer to your question as quickly as possible: 1. Search for your question on the forums or in Visual Studio 2005's help system first -- it's likely someone may have already answered your question, and you won't have to waste time waiting for it to be answered again 2. Post in the correct forum (see below) -- since the experts in various subject matters tend to stick to the set of forums that focus on those topics, a question about the C# yield keyword posted in the Common Language Runtime forum will likely take a lot longer to be answered than the same question in the C# Language forum. 3. Give details abou ...Show All

  • Visual C++ How to judge if a string is a number?

    Now i want to judge if a string is a number, for example string "111234" is a number, but string "[12345]" is not a number, how to realize it is there function to be used in std or boost   thks Those functions will give you 0 as the result value, so giving these doesn't answer the question. Use isdigit() on each of the characters in the string. ...Show All

  • SQL Server ArrayList -> System.Object-Variable

    Hi, I have a custom task to execute a package. This task sets dynamically the values of the child package at runtime before execution of the child. Everything works fine, as long as Im not trying to use an Object Variable in the child package, trying to fill with an ArrayList. Then, during package validation at runtime, the Properties of the custom task have NULL-Values. I don't know why all Properties got NULL or 0 (int), only adding an ArrayList-Property to the Task-Code. The ArrayList gets initialized in the constructor of the Task. Values to add in execute(). But the process never gets to the execute()-Method, due to my check in validate() for null Values. So the List is initialized but empty. Anyone an idea, maybe I'm doin ...Show All

  • SQL Server Problems on Web Server

    Okay, I've beat my head into my desk for the last 6 hours trying to figure this one out... I have a database table, I want to display said table's content using the ReportViewer drag and drop in VS2005. I placed it in a page, I set up an ObjectDataSource, created a few stored procedures to access the data, set up a DataTable and Adapter all with the default code the wizard sets up. I got it all working in the debug mode of VS, put it up on my IIS run localhost on my machine, still works. Dumped it on the webserver, and smacked down with errors: An error has occurred during report processing. Exception has been thrown by the target of an invocation. Login failed for user ('null'). Reason: Not associated with a trusted SQL Server Connect ...Show All

©2008 Software Development Network