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

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

howyue

Member List

lcj
Grant Holliday
TianHon
Bjørnar Sundsbø
João Cunha Lopes
shatl
Stricken618
shehz
Fire_alive
Mateusz Rajca
Phill Midwinter
Thibaud
Tabas
RichParker
Jimmy_fingers
Sweeps78
JonnyAJAX
Marcello2
jonathan03
nrf
Only Title

howyue's Q&A profile

  • Windows Forms "C2" format AND Binding

    I have 4 Readonly textboxes bounded to a stored procedure in 4 tableLayoutPanel cells. I can't figure out how to format the Text as "C2" (with $ and 2 decimal places) Any Ideas Thanks! I found a simpler solution (since I needed read only) this .sumByRepTextBox.DataBindings[ "Text" ].FormatString = "C2" ; this .sumByRepPlantTextBox.DataBindings[ "Text" ].FormatString = "C2" ; this .sumByRepPlantFamilyTextBox.DataBindings[ "Text" ].FormatString = "C2" ; this .sumByRepPlantFamilyMarketTextBox.DataBindings[ "Text" ].FormatString = "C2" ; that made the content show correctly. ...Show All

  • Visual C# Help on eDrawings needed!

    Hello all, I know this might be a long shot, but has anyone of you used C# to program Solidworks eDrawings control I am having trouble using the provided Print2 function in the eDrawings API. I emailed Solidworks, but their response team is very slow, the last reply about another issue was like 5 days. So I was hoping if anyone can take a look at my code and tell me what is wrong Thanks! Ke ------------------------------------------------------------------ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Drawing.Printing; namespace OmegaDyne_Document_Cont ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SpriteBlendMode.Additive

    I have a dumb question, but I cannot find any information on this. Can someone tell me what SpriteBlendMode.Additive does I mostly use SpriteBlendMode.AlphaBlend in my code, but I would like to know in what scenarios would I want to use SpriteBlendMode.Additive I appreciate any feedback. I have another question though, (if you don't mind) you would normally use the SpriteBlendMode.AlphaBlend mode when rendering the HUD correct Additive would be more suited for in-game objects ...Show All

  • Visual FoxPro primary key?

    How do u auto increment a primary key in vfp You just INSERT into the table and it happens automatically. For example here's a chunk of code that creates a database of my Windows Media Player music library. close databases all create database c:\temp\musiclib create table c:\temp\band ( iBand i autoinc, cBand c(60) ) create table c:\temp\album ( iAlbum i autoinc, iBand i, cTitle c(80), dAdded d, cGuid c(38), iYear i ) create table c:\temp\songs ( iSong i autoinc, iAlbum i, cTitle c(128), iLength i ) set safety off lcRootPath = "C:\Documents and Settings\David\My Documents\My Music\" lnBands = adir( laBands, lcRootPath + "*.*", "D", 1 ) for i = 3 to lnBands if ( ! ...Show All

  • .NET Development Generate Dataset file from XSD file

    Hello. I read many times that it is possible to generate a typed Dataset file from XSD file in VS2005. All step by step tutorials for some reason start explaining the process from dragging a table from Data source explorer into project. I need to create a Dataset file that i can see and manage in designer from the XSD file that i created from XML. What i should do Thank you. ...Show All

  • Visual Basic Is there a way to call information thats in a database

    Is there a way to call information from a database and place it in a rich text box With a loop type of thing Or would i have to make some...wierd query and place each value into a text box 1 by 1...or... i dont know help would be nice...thanks wow! i had to change some things and now im closer than i ever was before... these are the results i got Now, I think i can fix this....becuase this is allll jumble This is your code after i changed what i needed to Dim theRowString As String = String .Empty For currentColumn As Integer = 0 To ProductsTableAdapter.GetDataByALL.Columns.Count For currentRow As Integer = 0 To ProductsTableAdapter.GetDataByALL.Rows.Count RichTextBo ...Show All

  • Audio and Video Development Windows Media Encoder - install on Vista

    I am trying to install Windows Media Encoder...downloaded the 64x version that says it is for Vista aand the Xp version, neither will install. Suggestions This forum is for Media Foundation development. Try the Media Encoder newsgroup: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.encoder&lang=en&cr=US ---------------------------------------------------------------------------- Mike Wasson, SDK Documentation This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. (c) 2007 Microsoft Corporation. All rights reserved. ...Show All

  • Visual Studio Team System Modify Standard Report

    There's several built in reports that use the 'Bug' work item type that we'd like to use on the 'Task' work item type. How do I go about changing this I've tried editing the dsWorkItemHistory dataset to change the query from [Work Item].[System_WorkItemType].[System_WorkItemType].[Bug] to .[Task], but I get told I can't save the changes because I need to use the MDX Query Builder. Nevermind, I was able to make the change directly to the rdl file without messing with the query builder at all. ...Show All

  • Windows Forms UserControl doesn't update

    I found that if you modify a user control constructor then a usercontrol used before this modification won't be affected by those modification. Here what i did: 1.I create a new windows form project. 2.In this project I create a second windows form project where i add a user control. The second project is built before the first project. 3.In the first project toolbox i add an item from the second project debug "exe" folder (to add the usercontrol i have just created) 4.I add the new usercontrol to the windows form of the first project On execution evething works fine 5.I modify the usercontrol constructer .Now It backColor is Wheat and almost half transparent public processusButton() { InitializeComponent(); t ...Show All

  • SQL Server Process AS2000 DataBase from SQL2005 Server Agent

    Hi! Want to process AS2000 DataBase that is located on one server from 2005 ServerAgent that is located on other server. SQL2005 Integration Services allows processing only of 2005 OLAP Databases. I could send an xmla-script to as2000 from a task o ServerAgent2005 but I've read that AS2000 doesn't support xmla scripts with process command. How could I do this without migrating 2000 databases to 2005 Thank you in advanced. Mastroyani . The problem is, that on AS2000 machine there's only AnalysisServices installed (No SQL Server and also no DTS). Are there some other possibilities ...Show All

  • Windows Forms Custom Control not Appearing

    Hi All I've just created a custom control in VC# (Using Visual Studio Pro). I created it as a Custom Control Library Project. When I compiled the control, everything worked well and the .dll was in the correct directory etc. However, when I created a new Windows App project in C#, the control did not appear in the Controls list. I couldn't find it in the Add New Items list, and when I tried to browse for it, it came up as an incompatable file. The Control works fine when debugged and compiled without any errors or warnings. How do I add the control to the VS Library Thanks! Hi, Could you please try the following link. Hope this helps. http://msdn2.microsoft.com/en-us/library/fw694kde.aspx Thank you, Bhanu. ...Show All

  • .NET Development The process cannot access the file because it is being used by another process

    Hey all This is annoying, I want to perform a copy or move or read operation on a file but the file is already open in word or notepad, whatever. No when I try for example to rename the file that is open in word the system tells me that I can't do it since word holds it. How can I do the same in C#, meaning checking if the file is open and alert which application holds it. Itzik Use FileShare.Read to read a file even if it is opened exclusively by an another process. The default value is FileShare.None, we need to change this. ...Show All

  • Visual Studio 2008 (Pre-release) TreeView and several HierarchicalDataTemplate

    I have two HierarchicalDataTemplates for TreeView : < HierarchicalDataTemplate DataType = " Person " ItemsSource = " {Binding XPath=*} " x:Key = " BriefTemplate " > < HierarchicalDataTemplate DataType="Person" ItemsSource ="{Binding XPath=*}" x:Key="FullTemplate "> My questions are: 1. < TreeView ItemTemplate = " {StaticResource BriefTemplate} " ItemContainerStyle = " {StaticResource VerticalTreeItem} " Name = " myTreeView " ItemsSource = " {Binding Source={StaticResource FamilyTree}, XPath=*} " > It doesn't work,I get the error : "cannot find resource BriefTemplate". ...Show All

  • Windows Live Developer Forums WML keeps on hanging .. Pls help me

    My Live Messenger keeps on hanging just minutes after i log in. Ends up I have to reboot the machine bfore i can try to log in and the same problem repeats. Someone please help me. Why is this happening The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://support.microsoft.com/newsgroups/ dg=microsoft.public.msn.messenger&cat=en-us-msn&lang=en&cr=US&ln=en-us nntp://microsoft.public.msn ...Show All

  • .NET Development add an element to a xml file

    I want to add another language to my following xml file: < xml version="1.0" > - < languages > < language language =" Nederlands " /> - < language language =" English " > - < categorie > < Word English =" banana " Spanish =" platano " /> < Word English =" apple " Spanish =" manzana " /> </ categorie > < categorie /> </ language > </ languages > How can I do that with j# XmlDocument n ...Show All

©2008 Software Development Network