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

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

stockcrack

Member List

RJGibson
netweavernet
Richc12345
Rod Dela
Tobias Boehler
calvin phoenix
Chris Honcoop
CrystalDeveloper
Josh Smith
StarSS
Paula Mansour
SuperStruct
DotNetFireball
Joe Kehnast
chazparks
Krutika
Futzy
Ole Jepsen
naguaramipana
pomp
Only Title

stockcrack's Q&A profile

  • Windows Forms Getting data binded to another combobox

    I have form1 that contains a combobox that I need it to be populated with data from a collection of objects.. it happens like this I click a button and Add items to an arraylist on this dialog form that comes up... When i add the items to the arraylist and click the OK button on my Dialog form I want the comboBox on Form1 to be populated with that information that was added in my Dialog box... private void btnAddToList_Click( object sender, System.EventArgs e) { this .AddBillToCustomersList.Add(( int ) this .cboCustomer.SelectedValue); lbAddBillTo.Items.Add( this .cboCustomer.Text); } private void btnOk_Click( object sender, System.EventArgs e) { //Here I need to add the items that i added in the ...Show All

  • Visual Studio Team System How to remove change sets as candidates for merge?

    I have 2 branches, say Test and Prod. I have a change set(Say 321) and I don't want or need it to ever merge into prod. How do I remove it from the list of candidates for merging I've tried this tf merge /discard /version:C321~C321 Test Prod /recursive It says the the changes were set to "AcceptYours" but then in the Source Control, the change set still shows in the list of change sets to merge. Any ideas I wasnt able to run tf checkin I get the message "Unable to determine workspace" I read the doc and played around some, but couldnt get it to work. Any magic that I need to know about :-) Thanks, Staffan ...Show All

  • Visual Studio Question about sub project I think...

    How do I create a sub project What I'm trying to do is just like a form designer creates partial class. If you look at form designer code, the main class the user has access to is the file. then there are sub files under that file: "user file".Designer.cs & "user file".resx How can I create sub files to a file like this Thanks, Devin You can use the AddFromTemplate method to add a file of any type, such as a form. Also, while Project has a ProjectItems collection, a ProjecItem has also a ProjectItems collection to add files to that file. ...Show All

  • Visual Basic DataTable

    What is the .Net Professional way of saving , Editing, Deleting in DataGridView. Mirza Ashraf, According to your code in the post, it seems that you are familiar with the VB6 because of the Pointer int variable looks like the RecordSet in VB6. In your code sample, you try to show each rows in the TextBox controls. However, you never create the DataTable on the columns and rows in the DataSet for your table. I suggest you to read the related information on the DataTable class and try to create a DataTable object with the DataColumn, then add the rows in the table. The following link shows the DataTable class and there is the code example on creating DataTable by program. Please take a look at the code and have a try: http:/ ...Show All

  • .NET Development Malware affecting JIT or CLR...

    I have a HP8230-notebook with VS2005 installed where I maintain and develop numerous .Net Framework 2.0 applications programmed in VB. As I use the same computer to browse various programmer's forums and also travelling websites I have found that from time to time "something" happens to my computer that suddenly and irrevocably slows down startup time for my managed applications when I browse on the Web. I suspect it is some kind of malware, but neither Norton Antiviris 2006 nor my installed antispywares report anything abnormal. Symtoms are: - increased startup time for my managed applications by a factor of 5-7 times, - increased application closedown time by same rate, - increased time to load child windows within the ...Show All

  • SQL Server How to update a column in input dataset by SQL Query?

    I'm bothered by an issue of updating a column in input dataset from a update query. It looks like SSIS has a very poor function on this. Example, I have an input dataset of name, salary, dept_no, and I have another table called departments which has fields of dept_no, Dept_name, basic_salary now I want to update salary column in input dataset with basic_salary if it's salary is smaller than the basic_salary. update #tmp set salary = basic_salary where #tmp.salary <departments.basic_salary and #tmp.dept_no = departments.dept_no   how could I impletement this in SSIS package I tried with lookup, modify scripts by enabling memory restriction. It doesn't say any error when I save the package, but I never get pass debu ...Show All

  • Windows Forms How to redirect debug/trace output to a specific VS Output Window?

    Hi By default the System.Diagnostics.Debug method sends output to the Immidiate window in VS 2005. How to send the Debug result to the Output window without using Console.WriteLine Thanks. ...Show All

  • Smart Device Development Round Text Boxes using C#

    Hi, I'm devoloping a windows application which consists of Rounded Textboxes(The textBox edges be in the ovalshape) and the form backcolour is white.Can any one please post me the code for this solution . Thaks in Advance Regards Indusekhar.Velagapudi Software Engineer. Hi, Thanks for ur reply.The edges seems to be eaten away becoz the form bakground color is white.The edges are not clear for this. In the Code Project he has drawn 2 arcs and 2 lines which constitues of a textbox.Except on the white background the round textbox look is gud.It would be greatful if u could suggest an alternate solution. Thanks & Regards, I ...Show All

  • Smart Device Development Programmatically acquiring screenshots from a Pocket PC device

    Hi Guys, Anyone knows how to programmatically acquire a screenshot for a specific window from a Pocket PC device and save it locally on the device as a bitmap for example Are there any APIs to perform this task Thanks a lot. Hi, You can get the bitmap for the given window using Device context object associated with it. The code shall be some thing like this: //Assuming pWnd is the pointer to the window being captured. CWindowDC winDC(pWnd); pWnd->GetWindowRect(rect); int nBPP; nBPP= winDC.GetDeviceCaps(BITSPIXEL)*winDC.GetDeviceCaps(PLANES); //need on device; otherwise you may have trouble rendering it. if (nBPP < 24) {nBPP = 24;} //image is CImage& bStat = image.Create(rect.Width(), rect.Heig ...Show All

  • SQL Server Execution of SSIS package - security issues

    Hi all, I am currently trying to execute my first SSIS package and am having a lot of trouble with (what i believe to be) SQL security. During the development of the package i was testing all my connection managers with the sa account. Now that i have deployed the package i want to use another account with less privelages so that my setup is more secure. I have created a new login which maps to both the database my SSIS package is using and also to the msdb database. I have created a schema and user in each of these databases which i had initially set with minimal rights. This caused certain parts of my package to fail. I then set up the login with a sysadmin server role which worked no problem at all. Finnally i then gave the schema for t ...Show All

  • Visual Studio Team System Get Specific Version using Force Get Flag not working...

    Ok, I made the mistake of deleting my local copy of the files that are in source control instead of handling all updates via Source control.  In the treeview for the files it shows that the files have a status of "Not downloaded".  I have been unable to Get the Latest version of the files at all.    I've tried the following to resolve this to no avail: Get Latest Version:   Which shows that all files have been downloaded, use the get Specific Version and use the force flag. Get Specific Version with Force Get Flag Set:   Which gives the same error asking me to Get Specific Version with the Force Flag Set. Open the project via Open From Source Control:   Which gives the error Th ...Show All

  • Windows Forms URGENT - Help please w ComboBox

    I'm using a combobox in one program and run find. But in other program when I want to take the selected value give me a string with "SystemData.DataRowView" I'm using this combobox wtih: DataSource = ClientTableBindingSource DisplayMember = Name ValueMember = Number When I want to take the SelectValue CtaCte=Combobox.SelectedValue.ToString CtaCte's value is "SystemData.DataRowView" Can anybody helps me, I have to finish a work and I'm late. Thank you. When you add you're new record, are you doing it through the BindingSource object It sounds like you're somehow breaking the binding on the combobox... For some reason its returning the entire DataRowV ...Show All

  • Windows Forms Issue calling WebService from Windows Form

    Hi all, My WebService is running on same machine. While adding a web reference through VS.NET if i mention URL of service as http://localhost/MyWebService/Service.asmx and then run the application, Everything is ok. Web Methods are called and response properly. But if i change URL as http://mymachinename/MyWebService/Service.asmx or Use IP instead of localhost it gives security exception. and no doubt practically my webservice will not be on same machine so in any case i need to mention IP or machine name where webservice is running. ////////////////////////////Error Message/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// See the end of this messag ...Show All

  • SQL Server SQL 2005 bug? not follow the order by sequence in view...but SQL 2000 does!

    I have a table: CREATE TABLE [dbo].[tx1]( [f1] [nvarchar](50) , [seq] [int] IDENTITY(1000,1) NOT NULL ) ON [PRIMARY] SELECT * FROM dbo.tx1 ORDER BY seq DESC go f1 seq zz 1003 uu 1002 kk 1001 yy 1000 create view vx1 as SELECT top 100 percent * FROM dbo.tx1 ORDER BY seq DESC go select * from vx1 yy 1000 kk 1001 uu 1002 zz 1003 Not a bug; support for that "feature" (not really ever a feature, either--more of a side-effect) was removed:   http://blogs.msdn.com/queryoptteam/archive/2006/03/24/560396.aspx   -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- ...Show All

  • Visual Studio Making MSBuild run tasks in parallel

    I do not see a reliable way of using MSBuild Engine to schedule tasks/targets in parallel. The problem is that some task/target can modify properties/items that the task/target downstream depends on. I don’t see of any easy way of finding such dependencies. (Other than batching perhaps). Am I missing something Are there any plans to add such functionality Devenv uses the same build engine (that's one of the cool parts of MSBuild :) Where things get a bit confusing is if you have native code as part of your projects. If you have native code you'll see some multi-proc stuff happening. That's because native code is built sing VCBuild, which does have some multi-proc support in it. Neil ...Show All

©2008 Software Development Network