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

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

SLV

Member List

FloridaJohn
SolidSpace
magicalclick
Expressman
Alan Wolfe
scoman81
Travis Baseflug
kangalert
Handi
TheViewMaster
Ayooya
Adii.sathye
David Srbecky
polymorphicx
HariK
Phil Brammer
ChSchmidt
cmsmith81
algoaddict
Eddie Flores
Only Title

SLV's Q&A profile

  • Visual Studio Express Editions Some creative inspiration...

    Hi Guys, I want to build a scrollable information-rich GUI list, rather like the list of emails in MS office. That is, a list of boxes, with each box containing a couple of lines including title (maybe in bold), some information, some numbers and maybe a couple of icons. What do you think is be best way to construct this I'm guessing many of you will say datagridview or some sort of custom control. These would be fine, but any help in terms of exactly how to do this would be really appreciated. Two things to think about: 1) I'm not an expert programmer, eg. I'm not completely sure how to do complicated inheritance. 2) I only have VC++ Express - can you create custom controls with this Any help appreciated - any good solution w ...Show All

  • SQL Server Microsoft Association mining algorithem + ASP.NET 2.0

    Hi I am working on an academic medical project. I have created PATIENT table PATIENT_ID NAME | CITY DISEASE table DISEASE_ID NAME | and Relationship table[FOREIGN KEYS]PATIENT_DISEASE PATIENT_ID DISEASE_ID I am using Microsoft association algorithm [SQL Server 2005 BI Studio] to find association between PATIENT CITY --> Associated DISEASE. I will be entering dummy data into these tables as this is academic project. I like to know can i be able to find the associated Disease/s with the PATIENT City with this algorithm such a way as soon as the user enters PATIENT City, assocaited Disease will be selected from the diseases table on web interface [asp.net ...Show All

  • Visual Studio 2008 (Pre-release) Offline binding

    Is there any means to initialize "offline" binding for elements I've created in code through .baml/xaml parsing or imperative What if I've <ViewBox/> with some resources+binded elements-all self contained but I created it from "sratch" and it's not displayed on screen.Now I want to simulate "complete" cycle of rendering to get RenderTargetBitmap of my ViewBox...well you get idea All work nice except {Binding} markup expressions dosen't get called.So,how I can "invoke" expression engine to make binding work. I tried: vb.Measure(new Size(1000,1000)); vb.Arrange(new Rect(vb.DesiredSize)); vb.UpdateLayout(); without luck from console app,have I forgot something Thanks. ...Show All

  • Smart Device Development Question from newbie about reading file name from listview

    Hello I've been searching forums for solution of my problem. I think it's very simple but I have no idea how to make it works. In my project I have got a simple listview with *.txt file names from program directory. I would apprecciate it if someone told me how to get value (file name) of currently selected key. Any help would be welcomed! Something tells me we're not using the same programing language lol... ...Show All

  • Visual Studio Express Editions User Searches 2 fields to find a database record in application.

    Hi, I am learning Visual studio 2005 Express Suites (very new learner). I am attempting, in a form to have a user type in a first name and last name into a text box each, then click a button to find a person in the database. The associated database fields are: StudentID, StudentFirstName, StudentLastName (StudentID is a foreign key in a a couple of other tables). The text box field names are: TxtBFirstName and TxtBLastName. The button name is: BSearch There seems to be a way to do this type of search through the bindingsource [studentsbindingsource] where I click the little arrow, choose "Add Query", click "Query Builder", then edit the SQL query. I am confused as to how to phrase the WHERE clause - basically it would ...Show All

  • .NET Development Service Initiated Communication???

    I am creating a web service to be hosted on the internet and a client application in C# that will run on users pc’s. The web service should be able to deliver updated data to the client when random updates are made to the web service’s database, could be multiple a minute or 1 a day. My question is: what is the best way to trigger this communication between the client and the web service The clients can go online and offline at any time they so desire, but could be connected for weeks without disconnecting, completely up to the user. Is there a way to only have communication take place when the user logs in, an update takes place on the server, and when the user logs off. Basically is there a way I can have th ...Show All

  • Visual C# [C#]conversion from time to double

    Hi all :) I would like to know how can i solve this little problem: i've a string like: "32.30" i need to convert in: "32.50" I mean that i need to convert the time rapresentation from 60" in 100". Thanks at all in advance. RaouL. string sample = "208:30:00"; string [] samplesplit = sample.Split(':'); double result = double .Parse(samplesplit[0]) + double .Parse(samplesplit[1])/60 + double .Parse(samplesplit[2])/6000;   ...Show All

  • Visual C# how to discover Bugs that consume resources?

    hi, this is the second time i encounter this type of bugs, when i run my program after a while i find it consumes all the power or my processor, i'm dying for three days now trying to discover this bug with no success, is there anyway to help in dicovering such a thing 2 months ago i encounter something like this, but it was consuming the rams, i found this one after hard times i need a simple thing for beginners, or advice how to discover those bugs thx in advance Maybe you can use the Manged Stack Explorer or Manged Spy to see what is going on. ...Show All

  • SQL Server Changing DataTypes in an Excel Data Source

    Hello. I'm importing some data from an excel file to sql server 2005. I created an Excel Data Source inside my Data Flow Task but it is assuming that the source columns DataType is double-precision float [DT_R8]. It isn't, even though some rows may containg numeric string in the column's cell. If I go to the Data Sources advanded editor, and modify the data type property of the column, SSIS complains the the error output and the source output are not of the same DataType. If I try to change the error output's data type in the advanced editor I get this error: "Property Value". The deailed error states: Error at MOVIM 04 [MOVIM 04 [1]]: The data type for "output "Excel Source Error Output" (10)" can ...Show All

  • Visual Studio Team System Nested conditions in WIT definition

    I’m trying to make a field required when a double condition is true. Similar to this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=402934&SiteID=1 , but instead of setting the allowed values based on a condition I want to make the field required or not. Something like: < FIELD refname = " A " > < WHEN field = " B " value = " 1 " > < WHEN field = " C " value = " 2 " > < REQUIRED /> </ WHEN > </ WHEN > </ FIELD > or < FIELD refname = " A " > ...Show All

  • Visual C# Import API functions from DLL

    HI! I need to import the following functions from User32.dll libray 1) OpenWindowStation In MSDN it is described with argument and return value: HWINSTA WINAPI OpenWindowsStation(LPTSTR lpszWinSta, BOOL fInherit, ACCESS_MASK dwDesiredAccess) 2)GetThreadDesktop MSDN description: HDESK WINAPI GetThreadDesktop(DWORD dwThreadId) 3) GetUserObjectInformation MSDN description: BOOL WINAPI GetUserObjectInformation(HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength, LPDWORD lpnLengthNeeded) I know that dll function import is made like that: [DllImport("User32.dll", ExactSpelling=true)] public static extern IntPtr GetThreadDesktop(int dwThreadId); I. The first problem is how to change variables types for types unders ...Show All

  • Windows Forms Adding Components to Windows Forms

    anyone have any links on how i would add a component control to my windows form I created a component and now i want it to be inside my panel on my windows form but I cant find much info on the net to help me out though.... where are you placing the code Also don't do the Container.Add (this maybe a problem I don't know but do not quote me) do this: this.pnlOrderContainer.Controls.Add(ordercomponent); and yes you have to create an instance of the control in question. ...Show All

  • SQL Server Script length limitation?

    Hi, The answer to my question may depend on both the sql server engine and the data provider; I do not know enough about the internal goings on to judge this. Thus, I should mention that we are connecting to SQL Server 2000, from an ASP.NET 1.1 application using the SqlClient provider. First a short introduction to my scenario: We have an application that needs to support exporting and importing data between different instances of the database (in a disconnected manner). This has been implemented in such a way that the export generates sql, which is then simply executed on the importing side. (It wasn't me! I'm fully aware of a number of reasons why this solution isn't any good, but this is what I have to work with.)  This is do ...Show All

  • Visual Studio VS2005 AddIn: Create EditBox in toolbar

    Hi there, I'm trying to create an editbox ( Control for insertion of text by the user) in a VS toolbar using an addIn-I'm using the addNameCommand2 When Using a combo type, it doesnt let me write in the edit box Using MRUCombo box the text is lost when the focus in last Does anyone know how to create a simple edit box ] Thanks, ron See my blog postings at http://blogs.msdn.com/craigskibo/archive/2005/09/08/462805.aspx and http://blogs.msdn.com/craigskibo/archive/2005/10/20/483133.aspx for information about using the new command bar control types in VS 2005. Craig ...Show All

  • Visual Basic Location of new child form in MDIParent

    Hope you can help. On creating a new child form in the MDI parent I am finding its initial location to be (-4,-23) and am unable to change it. If another child form however is added the older form repositions to (0,0). Is this a bug or am missing something Thanks Have tried "me.location = new point(0,0)" but this still fails to change the forms location after being shown. I am assuming that the child form is initially being placed at the location of the parent form and not in the rectangle of the parent form. hence -4,-23 is away from the inner rectangle to the outer border. Any help ...Show All

©2008 Software Development Network