Software Development Network Logo
  • Visual C++
  • Windows Live
  • VS Team System
  • Smart Device
  • VS Express Editions
  • Visual FoxPro
  • Visual Studio
  • Windows Vista
  • Visual J#
  • Architecture
  • Windows Forms
  • Visual C#
  • .NET Development
  • Microsoft ISV
  • Visual Basic

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

Joshna

Member List

Kevin Tambascio
jakeysgt
Benjamin Bell
Kyuey
soccerazy
lowster11
YoeriR
jfache
Len Z.
dtbart
techiegus
Rj_murray
NotMyName000
cyrus_
Jonas Roineslien
fantasimus
iDhinesh
Markus Cozowicz
PkRichard
mmuncut
Only Title

Joshna's Q&A profile

  • .NET Development specify odbc connection

    I cant beleive i havent found an answer to this, but here goes. I am using visual studio c++ 2005 express edition and have made an application with a specified data source using an access file. Can I instead setup the odbc connection in Windows and connect to the name of that connection instead All connection strings I have found have forced you to specify the mdb location in the project which is very inflexible and visual studio doesnt seem to let me do it any other way. Thanks in advance. Hi, If you are using ODBC .NET Managed Provider then you could use DSN name in your connection string. You do not have to specify driver name. ...Show All

  • SQL Server Server: Msg 107 - The column prefix xx does not match with a table name or alias name used in the query

    Can anyone help me with why SQL server returns this error when executing the following query. I have read the online help on this and I am correctly using the alias in the subquery. The error is caused by the reference to the table alias FD in the subquery for fundvalues which gives me reason to believe that the subquery is being parsed or evaluated before the outer query. I don't know how to avoid this behaviour and I do not want to have to rewrite the process completely. The error is returned both when executed through the query analyzer and also when executed through the vb program. ( Note : This is a subsection of a much large ...Show All

  • Visual Basic DataGridView Add new record

    VS 2005 - WinForms - VB - DataGridView Is there a way to have the New Record position to be at the top of the grid I could do this using Janus Grid I'm not exactly sure how you want this to work. However, you can always add rows & cells exactly at the position you want, e.g. insert at position 0. Sample: Me .CustomersDataGridView.Rows.Insert(0, value1, value2) This inserts a new row with 2 values at the very top. You can wire this code to any button click or other event handler that handles New Record scenarios. Best, Paul ...Show All

  • Visual Studio 2008 (Pre-release) Entity-scope RejectChanges()?

    All, Anyone see a use for entity-scope commit methods I'm setting up a gui editor and it would be nice to reject changes on a per-entity basis and know the remaining graph is preserved. If so, then it follows to add the per-entity SubmitChanges() method. That may call for a root entity class (which the DLinq design seems to avoid). public class RootEnttiy { public void SubmitChanges() {} public void RejectChanges() {} } public class CustomEntity : RootEntity {}   Or, perhaps pass the entity to the DataContext.   CustomEntity ce = new CustomEntity(); ce.Text = "Ok"; dataCont ...Show All

  • Visual Basic Object Oriented question

    This seems like there is a really basic answer... I have a collection of objects (lets say Products) inside another object (say Order).  The product object has a function called GetTax().  Inside that function it needs to reference a property of its parent object, Order.  How can I access a property of a containing object   In the below sample, the MyParent object is pseudo-code... Imports System.Collections.Generic Public Class Order     Public PaymentMethod As String     Public Products As List(Of Product)     Public Class Product      &nbs ...Show All

  • Visual C# pulling forms out of applications.

    Is there a way to pull out what forms are in a particular application that get's passed in Also does any one know how to find out the name of the exe file that call's the dll Anything would be very helpful. Thanks, Matt In terms of Form-based classes contained in an assembly, you could use reflection to enumerate all the types in an assembly (see Assembly.GetTypes) and see if any derive from Form (see Type.BaseType). You can get the main assembly via Assembly.GetExecutingAssembly(). If you have an object, and you want to know what assembly is is from you can use Object.GetType() to get it ...Show All

  • Visual Studio Can I group several charts to pages?

    Hi, When I am creating a report about products sales,I create a group with productID.I want to create  several charts for every product but there is no enough space to do this.So I am planning to display these charts individually by using subgroup like this: ProductA-ChartA                -ChartB                -ChartC ProductB-ChartA                -ChartB           ...Show All

  • Visual Studio Express Editions VC++

    Why I can not add a function or a variable in class. I recommend reading the sticky post on how to ask questions. You should choose a subject that means something. I can't imagine why you can't add functions or variables. Given that you do this via the text editor, perhaps you need to read a book on C++ ...Show All

  • SQL Server Named Pipes Provider: Could not open a connection to SQL Server [2]

    Hi I'm a complete sql/asp.net newbie and want to try this tutorial: http://beta.asp.net/GuidedTour/ First I installed: Visual Web Developer 2005 Express Edition Beta 2 systemsettings\software shows the "sql server 2005 express edition ctp (sqlexpress)" installed mmc\service shows me the SQL Server (SQLExpress) is running Following the guided tour I use the commandline, type cmd, and type in the commandbox:   "C:\Program Files\Microsoft SQL Server\90\Tools\binn\SQLCMD90" -S " localhost \SqlExpress" Instead of localhost I also tried computername.smallbusiness.local (thats my fully domain name). However I always receive the er ...Show All

  • Visual Studio CrystalReportViewer Refresh

    How can I avoid parameters prompt after refreshing report in my CrystalReportViewer. crv.ReportRefresh();   display parameters prompt again. Hello, The only way to avoid prompting would be to write code to pass in the values.  There is not an easier way to do this with the Crystal Reports .NET viewer. Keith - Business Objects ...Show All

  • Windows Forms DateTimePicker Value/Text properties

    I made a DateTimePicker control with readonly functionality using a Textbox control drawn at the same place as the DTP control when in readonly mode. I've overridden (amongst others) the OnValueChanged Method, and there I put "_textBox.Text = this.Text". This all works fine, unless my control is in ReadOnly mode when my form pops up (or when the DTP control is on another tabspage, when the Form pops up). In that case, "this.Text" is always empty. Does this has something to do with te painting I'm out of inspiration... Any suggestions/solutions TIA, Fretje This indeed was the solution for this problem! I ...Show All

  • Visual C# Pass by Whatever

    Hi! I am confused by the insistence of both Java and C# that passing a reference type is not pass-by-reference but pass-by-value. I take it that since you get a copy of the reference, they consider it pass-by-value Then, what is passed in pass-by-reference A handle (pointer to a pointer) And, if so, isn't it a copy of the handle that's being passed As you can see, I am missing something. Please, lay it out simply for me. (Pass-by-value--I get.) Thx! AFAIK, a reference type is passed, but if you change the value within the method, then a copy is made. If you use the ref keyword, then the reference continues to refer to the same ...Show All

  • Software Development for Windows Vista Uploading a Word 12 document

    Hi We have used the WinWF object model to upload a Word "12" document into the Document Library of a sharepoint site. Our requirement is to upload the document into the SharePoint site using code. We are having trouble opening the word document in the browser window. It would be helpful if somebody could help us with the following query... Is it possible to open the Word12 document in the browser window, if Office12 has not been installed on the client machine Hi Amit, Thanks for trying workflow with Office "12". As you are probably aware, Office "12" h ...Show All

  • Windows Forms combo-box auto-complete...

    Must have for any combo-box...should be built-in in all cases, whether it's a single column drop-down or multi-column (Hopefully in future releases). Again, no idea what the multi-column combo-box and auto-complete features for the combo-box were not included in VB.nET, since they were missing in VB6 and were sorely missed by developers, you'd think that .NET would b ...Show All

  • .NET Development .NET 1.1 process.kill?

    Hi. in .NET 1.1, I can create a process: Process someProcess = new Process(); someProcess.StartInfo.FileName = this .someTextBox.Text; someProcess.Start();   However, if i wish to kill that process, I have tried using: someProcess.Kill(); //AND: someProcess.Close();     however both of the processes to close/kill results in an exception: "No process is associated with this object"   Now that is quite understandable BUT how can I make an object of a proper "program/application" which the process can be killed from The user basically can type in a url/some Windows app name ( ...Show All

©2008 Software Development Network