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

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

KitWest

Member List

Anton Papst
Nikraz
CBHCMC
Brazzle
Drew Marsh
eldiener
zz2
Darkside
Josh Kinder
Puzzled
Johan Cyprich
DyngoMan
philz89
Ori'
David S. Anderson
ANTRASOFT
Charlie Becker
Tiaan
MCP_SS
Dave Perry
Only Title

KitWest's Q&A profile

  • Visual Basic How do I add a TextBox to read from a special coloumn...

    How do I get a textbox to read data from the BindingSource, like the one you see in My Movie Collection Starter Kit. Do you see the small DataBase icon next to the property Text of TitleTextBox. How Do I get to do my App that. I have a Database connected. I have a good one to solve.. I created a database to store values. On my form i have multi textboxes to represent each of the database values. The intent is to change the value in the textboxes thus changing the database. There are twelve rows and twenty five columns. Please, how can I make the textboxes update the database and at the same time display current database info. I only seem to get the data to display in one row meaning... a textboxe should only point to one reco ...Show All

  • .NET Development Memory issue

    Hi! I don't understand the .Net memory magnagement. I have a application, when run it .... consume 16.280 KB of RAM, if i don't touch the app(idle) ... this value is constant along hours, but if i minimize the app then consume 8.000 kb, if and then maximize again consume 12.000 KB ... whats happened RizwanSharp, It is NOT true that a huge garbage collection is performed when an app is minimized (it's also easy to prove false by using performance counters).  If you could find the article claiming this, please forward it to me, so I can correct the author.  See http://blogs.msdn.com/maoni/archive/2004/06/15/156626.aspx  for when the CLR performs a garbage collection.   OmegaMan, The section in the art ...Show All

  • Visual Basic Can I save a file(.DAT) form a ListBox

    This code isnt doing what I want it to. Its supposed to take the items from the ListBox and put them in the .DAT file Private Sub SaveToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripMenuItem.Click My.Computer.FileSystem.WriteAllText("C:\Documents and Settings\All Users\Desktop\CODE.DAT", lstDisplay. False) If SaveToolStripMenuItem.CanSelect Then MsgBox("Code.DAT has been created and located on your desk Can you help me with the 's part You need to create a string with the appropriate listbox items - in this case selected items from the listbox. If you want all of them then use the items collection rather than the selecteditems collection. ...Show All

  • Windows Forms Datagridviewcell backcolor issue when using colordialog

    What I'm trying to do is that depending on the selection of the colordialog, the backcolor of a datagridviewcell can be changed. the problem is that if the user selects a color that is not a kwoncolor, the cell does'nt paint. here's the example: ColorDialog1.AnyColor = False ColorDialog1.SolidColorOnly = True ColorDialog1.AllowFullOpen = False If ColorDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then Dim cont As Integer For cont = 0 To el_grid.SelectedCells.Count - 1 Dim r As Integer r = ColorDialog1.Color.ToArgb el_grid.SelectedCells(cont).Style.BackColor = Color.FromArgb(r) Next End If I tried ex ...Show All

  • Visual Studio Express Editions Resize pages to different browser resolutions

    I have been trying to resize page to different resolutions in a browser as in Front Page or Dreamweaver via Autostretch or via Framesets as i HTML Code: <FRAMESET COLS="*, 50%,*" BORDER="0px"> <FRAME src="Frames/LeftFrame.html"> <FRAME src="Frames/CenterFrame.html" NORESIZE> <FRAME src="Frames/RightFrame.html"> </FRAMESET> for example. VS doesn't seem to support framesets or any type of autostretch at least when I have tried (unless I missed something). Any idea how to solve this issue would be greatly appreciated. Thanks, Jakub I think you might want to have a look at the SplitContainer class . It is a ...Show All

  • Windows Forms Binding a datasource to combobox

    I have a ComboBox in my application that is bound to a BindingList through the DataSource property. I am monitoring the SelectedIndexChanged event of the combobox for selection changes made by the user. My problem is that i want the ComboBox to have an empty selection (nothing selected) initially, however upon setting the DataSource property to the BindingList the ComboBox automatically changes selection (from empty) to the first item in the BindingList. Selection also changes (if there is nothing selected) when items are deleted or added to the BindingList (once its bound to the ComboBox). Is there anyway of disabling this behaviour any help would be much appreciated. Ah, Have you con ...Show All

  • Windows Forms DataTable has more rows than being displayed on the DataGridView

    Hello, I am binding a datatable (with 36 rows) to a datagridview. I'm only getting 2 rows showing; 1 row of data, and the new item row. I don't understand why this is happening I'm testing the 2/36 values at the time I bind the source, so what could be filtering out the results I am doing this to another result set (to a different datagridview) and it shows all the results. I don't understand why this is happening this way. Thanks. ...Show All

  • SQL Server Lookup Transform

    Hi! I am a newbie, grateful for some help. I have a Source Ole DB w sql-command selecting the customer.salary and customer.occupation, which I want to match with demo_id in Ole DB destination. salary, occupation also in dim_demographic. But in Lookup editor I find no column demo_id... how do I do this How would you do if you had a demo_id in db Destination, which should be matched with the values salary and occupation in Dim_demographic (containing columns id, salary, occupation) or de db Source sql customer.salary, customer.occupation ...Show All

  • SQL Server Delete question

    I recently uploaded my old MSAccess database structure/information to the SQLExpress 2005 database. I now need to clean out the data of each table so i can repopulate it with the program i am trying to debug. The problem i am encountering is the same no matter what i do. I think it is just some sort of typo when it comes to the statment, but i am so new to Server that i am not sure. Table: OwnerInfo - fully populated/created SQL Statment: Select * From OwnerInfo SQL Error: Msg 208, Level 16, State 1, Line 1 Invalid object name 'OwnerInfo'. SQL Statment: Delete From OwnerInfo SQL Error: Msg 208, Level 16, State 1, Line 1 Invalid object name 'OwnerInfo'. Am i mistyping the table name or forgetting some sort of punctuation I have tried ( ), [ ...Show All

  • Visual Basic disable code?

    I made a if statment, now if that statment is true, then what would i put to disable all the code below it In code, if you put something in the IF Clause - it will run it the expression is true. It sounds as though you dont want to run something when the condition is true. You could put code in the code in the else clause or change the code to if <expression> = False but you cant disable statements - you can merely choose to execute them or not at runtime. Another option maybe conditional compile conditions - this way certain code may be included when you set certain compile flags - but these flags are set in the project and used when the code is compiled up. This way you can exclude certain code from being compiled. ...Show All

  • Visual Studio Express Editions How to compile a .cpp file in Visual studio

    Hi, I have recently downloaded Visual Studio and have no idea of how to compile .cpp file using Visual Studio. Suprisingly the help menu offers no help. It would be very much appreciated if someone could tell me how to do this. hello Re: How to compile a .cpp file in Visual studio I am going to mark this thread as answered since you have not followed up with any further information on your problem as requested for over a week - I assume you solved the problem yourself or one of the suggestions in this thread helped you solved the problem. If you have a solution you could post it so others can find it. If you do not have a solution then please submit further details and then mark the thread as un ...Show All

  • SQL Server Conflicting docs on how to render

    I am trying to use the render method to render to a byte array in an ASP.Net application and I am having a problem in that there is a lot of conflicting information in the books and the docs on how to do this. The latest docs I read led to the following code... ReportingService2005 _rs = new ReportingService2005(); //have to use custom credentials because ASPNET does not have sufficient authority... NetworkCredential myCred = new NetworkCredential("myuserid", "mypassword", "mydomain"); CredentialCache myCash = new CredentialCache(); myCash.Add(new Uri(" http://localhost/myWebSiteName "), "NTLM", myCred); _rs.Credentials = myCash; _rs.Url = ...Show All

  • Visual Basic compacting database

    Is there any way to compact an access 03 database using VB I want to compact and repair the database each time my application closes. I would think that it would be something like this: private sub Form_closing(byval sender as object, byval e as system.windows.forms.formclosingeventargs) handles form.closing '--compact and repair the database end sub I just need to know the code that would performt he compact and repair. As always, thank you in advanced for any help offered. I think this is what you need: How to compact a Microsoft Access database by using Visual Basic .NET - http://support.microsoft.com/kb/306287 Or: How To Compact Microsoft Access Database Through ADO - http://support.microsoft.com/default.aspx/kb/230501/ ...Show All

  • Visual Studio Team System Cherry Pick Merge causes conflict

    I know this subject has come up a few times in the forum, and I've read the answers to those - but still not sure I'm following the answer. I am following an admittedly old webcast from TechEd 2005 by Douglas Neumann that talks about TFS Promotion Modeling, and the ability to Cherry-Pick merge a particular changeset. I'm wondering has something changed since the beta when this seemingly worked Very similar to the demo, I have the following setup: DEV branched to QA (changeset 29) DEV class1.cs QA class1.cs Make a change to class1.cs and check it in + add new property called "NewFeature" for the next release (changeset 30) Make another change to class1.cs for a bug fix and check it in + add new property called "BugFix", need this in th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. D3D Mesh Object does not exist...and Spacewar is using new "swm" format?

    Looking at the SpaceWar sample...I am wondering if there is somewhere a converter from .X or .XBF to the SWM format. Looking at the loader in the Simplemesh.cs class, it looks like the SWM is using a propriatary header and than the binary .X format.. Can anybody help with this format I would love to use 3D Max and export to .X than read it into my game...but without a code converter to SWM...hard:-) It was mentioned in another thread that the guys that did the Spacewar game had a utility that converted from .x to .swm, and they were going to see if we could get a copy :) http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=683102&SiteID=1 ...Show All

©2008 Software Development Network