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

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

mlcprs

Member List

Wahl04
Rudy Hentzen
Nneuromancer
Tim Tompkins
George2
IObject
ericzaj
Beast Forever
bill perlman
SQL Novice
UPV_Team
Karl Hulme
Kamii47
HamidFULL
Vivek S
Jagan P
pershing
yzhang12
Paulson Abraham
drinkwater
Only Title

mlcprs's Q&A profile

  • Visual Studio 2008 (Pre-release) Treeview with combobox???

    Hi everybody!! I need to create a treeview where the last childnodes has to be a combobox. Is it possible Any idea how to do that any idea would be great!! thank you, alba You can see an example of a similar Trigger, as lee described, here: http://www.codeproject.com/useritems/AdvancedCustomTreeViewLyt.asp It's in the "Choosing the right visuals" section. ...Show All

  • Visual Studio Team System Version control API - basic recipes

    I'm working on writing a simple client using the version control API and I'm having trouble with a couple of basic concepts related to server names, local paths and server paths. I'm hoping someone can fill in the gaps with a few recipes - I've looked at some of the samples on various blogs, but haven't found solutions to these basic issues: 1. Given a local path, determine the name of a TFS server that has a mapping for that path (if such a server exists). The code from the example on Buck's blog ( http://blogs.msdn.com/buckh/archive/2005/10/26/485458.aspx ) doesn't seem to work - it never finds a server name. 2. Given a local path, determine the exact name of the server path that maps to it. 3. Given a server path, determine the ...Show All

  • Visual Basic Beginners question

    Hi, when I use the HelloWorld example from the interop forms toolkit, everything is fine except if I try to add a new Public Sub. 1) E.g. I add the following code (while VB6 IDE is closed): in class HelloWorldForm after # Region "Public Methods" : <InteropFormMethod()> _ Public Sub newPosition( ByVal x As Integer , ByVal y As Integer ) Me .Left = x Me .Top = y End Sub 2) I open the vb6 IDE and start the main app. I press the "launch .NET form" button and see a modified .NET form, because I modified the form earlier in the .NET environment. 3) But if I edit the vb6 code re browse the objects in the object browser, I can not see the new Public Sub. What is the reason that ...Show All

  • SQL Server Problems with the SELECT ROW_NUMBER() OVER approach

    Hi guys, I am using this approach in order to be able to do server side paging on the SQL server (why Microsoft, why can't you just put the limit vlause to work ). Anyway, here is what I am using... http://davidhayden.com/blog/dave/archive/2005/12/30/2652.aspx My code is somehow structured like this: WITH LogEntries AS ( SELECT ROW_NUMBER () OVER ( ORDER BY Day , Month , Year DESC ) AS Row , * FROM reptable where $LOTS OF CLAUSES$ ) select Year , Month , Day , $ALL MY DATA$ from LogEntries where Row between ( @PageIndex - 1 ) * @PageSize + 1 and @PageIndex * @PageSize This works like a CHARM. Problem is I've placed this under a stored procedure and I need t ...Show All

  • .NET Development Problem inserting data to SQL

    well here is my code of ISERT in C# =========================================== InitializeComponent(); SqlConnection coneccion; coneccion = new SqlConnection("Data Source=sagara\\sqlexpress;" + "Trusted_Connection=yes;" + "database=Hospital; "); SqlCommand orden; string q = "INSERT INTO prueba (nombre, apellido) VALUES (@txtNOMBRE, @txtAPELLIDO)"; orden = new SqlCommand(q, coneccion); orden.Parameters.Add(new SqlParameter("@txtNOMBRE", SqlDbType.Text)); orden.Parameters["@txtNOMBRE"].Value = this.txtNOMBRE.Text; orden.Parameters.Add(new SqlParameter("txtAPELLIDO", SqlDbType.Text)); orden.Parameters["@txtAPE ...Show All

  • Windows Forms How to show the changed Text while loading?

    Hi! at time-consuming processing in reading data etc, how to show a Label such as loading into the following codes, the character "Loading" cannot be seen. private void loadDailyButton_Click(object sender, EventArgs e) { titleLabel.Text = "Loading"; da.Fill(ds); titleLabel.Text = "Loaded!"; } what code do I have to insert here Look at using the BackgroundWorker class to perform time-consuming operations. 1. Add a BackgroundWorker to your Form. 2. From your Button_Click eventhandler, update your Label.Text property ("Loading"), then call the DoWork eventhandler of the BackgroundWorker. 3. In the DoWork eventhandler, call the ...Show All

  • SharePoint Products and Technologies Modify Left Navigation Bar in MOSS 2007

    Hi I am using MOSS 2007. In that i create an website and create site collections. then lands an home page with PressRrelease. Now my requirment was to create many site like AboutUS(top level site)      New Letter(sub site)      Press Release(sub site) Software     Microsfot(subsite)        Microfot Office (pages0        Microsoft .net(pages)        Microsfot VB(pages)   Adobe(subsite)      Photoshop      Aldus   Sun Microsystem(subsite)      Java Version1.1      java Version 1.2 hardware   &nb ...Show All

  • Windows Forms Removing Componets (exp Checkboxes )

    If I wanted to lets say... have a few checkboxes right... and I wanted to remove the ones that are checked... how do I do that Like.. remove the checkbox right along with its value. what I really need is to remove them.. because I'm creating a program that will check against IPs... but never mind that part for now... also.. I'm using a for loop not a for each loop.. because I also have a textbox that grabs information then splits it according to the information provided.. then added it in to an arraylist.. then loop it.. anyways.. just incase here is the code..   [code] using System; using System.Windows.Forms; using System.Drawing; class App {    public static void Main()    {    & ...Show All

  • Visual Studio Express Editions HOw to refill a database?

    I have this code in my vb.net program. Me.TickersTableAdapter.Fill(Me.DataSet1.Tickers) It fills the data from the external file fine. However, I'd like to be able to refill the data after it has been changed by an external program. Calling the line a second time doesn't work because I get "datareader already active on this command" error. How can I refill the data from the external file tia hi, as what ahmad said to retrieve data from database to dataset you use adapter.fill(), to save the changes back to the database from a dataset you use adapter.update(), so to refill your dataset you have to take 2 steps , 1) to clear it from data, 2) to fill it again from your database hope this helps ...Show All

  • SQL Server Database Mirroring - DDL Updates

    I wanted to confirm that when using Database Mirroring that DDL Updates such as table and stored procedure updates on the principle server are replicated to the mirror server. I thought I read that non-logged operations would not be replicated to the mirror server. What would be some examples of that. At the moment...you would think every entry in the the database would be saved into a table and that would be replicated. ...cordell... Hi Cordell. Any logged operations are shipped to the mirror for replay, which includes standard database DDL (alter, create, etc.). For all intents and purposes, think of mirroring as being real-time log shipping...anything that can be recovered in a database/log resto ...Show All

  • Visual C# Is possible to use .NET 2.0 in VS 2003?

    Is possible to use .NET 2.0 in VS 2003 yup..i agree with them, u cant do like this. because there are 2 difference version of framework. there got many new components in 2.0 that don have in vs2003 or 1.1 so vs2003 can't support it.... :) ...Show All

  • Software Development for Windows Vista Deploy/Debug CE app from Vista

    I'm having problems deploying my app from Visual Studio 2005 to my Windows CE. My host OS is Vista 64. I think its related to ActiveSync not being supported under vista. Now we have "Windows Mobile Device Center" (if this is not the correct form please let me know) Thanks, Hi Juan: This forum is for discussion of programming issues with Tablet PCs and Mobile PCs, such as laptops and Ultra Mobile PCs. I believe you want to post your question in one of the Smart Device Development forums . Thanks, Mark Hopkins - MSFT ...Show All

  • Visual Studio Team System How do I recover from missing .mdf and .ldf files

    Hello, My project is expecting .mdf and .ldf files in the DesignDB folder of my solution folder. Somehow they have disappeared. This is undoubtedly due to a machine crash earlier today. How do I recover from this position How do I tell the project to recreate the design database and therefore those files On a slightly different thread, shouldn't you do something to mitigate the risk of this happening Machine crashes do happen as we all know. -Jamie There has been code added in CTP6 to mitigate if any of the cache files are missing. For now, try deleting the .dat file in the same directory as the .dbproj file, and then reload the project. The reload will take a while, but the project should come ...Show All

  • .NET Development Dialog Class and debuging

    Hi all, When I am programming, I usualy use Message Boxes or Dialog Windows or Console Outputs to help me debug my application. Now I am developping a Web Application and I do not know how to have the same interaction. Do you know a way to output information in that matter Thanks, JR You can use Console.WriteLine to do this and see the output in OutPut Dockable Window of Visual Studio. Addionally, you can also use Response.Write(); function of ASP.Net to do this. Best Regards, ...Show All

  • Visual Studio Express Editions Adding and Removing from a variable Array?

    Sorry for the beginner question but I can't seem to figure out how to add or remove values from an array of variable size. For example, this works without problem: Public Class Form1 Public config(2) As String Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load config(0) = "test" end sub End Class This however doesn't... I've tried various variations on this and I can't seem to figure it out. Public Class Form1 Public config() As String Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load config(0) = "test" end sub End Class How do I ...Show All

©2008 Software Development Network