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

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

Riceroman

Member List

GuoHouzuo
ST W
elgor
Sharewareisland.com
game-maniac
Stavros Makridis
Ryn
Scøtt
Samant B Jain
deKay
Pareshbsel
DragonC#
Simon Mourier
David9
Ather.
Jamie Thomson
leonlai
Zjivago
maverick_majnoo
Rasmus Helwigh
Only Title

Riceroman's Q&A profile

  • Windows Forms Help Creating Bold Text...

    Ok, the problem I'm having is thet when I select my text and click my BoldButton, no matter what my selected text font or text size is set to, it reverts it back to 'Microsoft Sans Serif, 8.25 pt' Here is my code: If (Color.op_Inequality( Me .BackColor, SystemColors.ControlDark)) Then Me .BackColor = SystemColors.ControlDark End If If Not ( Me .Font.Bold) Then Me .Font = New Font( Me .Font, FontStyle.Bold) RichTextBox1.SelectionFont = Me .Font Else Me .Font = New Font( Me .Font, FontStyle.Regular) RichTextBox1.SelectionFont = Me .Font End If RichTextBox1.Focus() I know it has to be a simple fix...........Thanks for your reply. Maybe bec ...Show All

  • Visual Studio 2008 (Pre-release) JulyCTP - SvcUtil generating the incorrect configuration?

    When I used SvcUtil on a service that is configured with UserNameForCertificate in custom binding, it generated the wsHttpBinding on the client side with message security with client credential type as UserName. I had to manually change the configuration from wsHttpBinding to custom binding that mimicked the server side configuration. Is this the expected behavior of SvcUtil in July CTP or is it a bug If so, is it fixed in RC1 Thanks. Why did you have to change it The client configuration need not be "the exact same" as the service configuration. It need only be "equivalent". What svcutil does is take the service description or WSDL and create a binding that has the required facets. I just ran a test on RC1 and ...Show All

  • Visual C# MSIL

    Hi, I am an infrastructure person and learning visual C# for the business needs. Can any one tell me the advantage of MSIL It does what Please mail me the answer at sroy@nhaustralia.com.au Regards Santanu MSIL - Microsoft intermediate Language. It is a language that is used to do the code/compile it down to from VB.NET/C#/.NET development languages. This is where it makes it into 1 "code" language by the compiler. its a CPU independant set of instructions that can be efficiently be converted to native code. http://en.wikipedia.org/wiki/MSIL http://www.codeproject.com/dotnet/vbvscsmsil.asp it's not really a language you develop in, you develop in .NET based languages like VB.NET or C#, MSIL is what g ...Show All

  • SQL Server How to construct table with unique PK

    Let say I have 6 tables. I want to autogenerate the PK for each table and that is unique for each table and cant be duplicated on other tables. Let say I have table with PK of 1, so table2 to table6 wouldnt have a PK of 1. If table2 have a PK of 2, table1, table3 to table6 wouldnt have a PK of 2. Same for others. Identity will not be appropriate. Will 'uniqueidentifier' data type suffice How bout guid Or what must be my datatype Or what will I do to implement this Any links Thanks What you describe isn't really applicable to a 'normal' primary key. In the 'normal' case, a PK doesn't care about the values of other PK's in other tables. There are cases where one would want to distribute PK values like yo ...Show All

  • Software Development for Windows Vista Not able to view my Custom workflow in the workflow monitor

    I am not able to view my custom workflows in the workflow monitor. I have posted an issue in the VSS forum inadvertently here is the link http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=699069&SiteID=1 Can someone help me please Take a look at this post. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Breakout

    Hello, I have about a year of experence with C# and I have tried a simple game using XNA, I made breakout with some crappy homemade graphics Would anyone mind to look at my code and tell me what I could do better with Note: The game is not completely done yet but for the most part, it works. Code is at http://joshmackey.net/programming/XNA/XNA%20Breakout/ OrpheusTheBard wrote: Could you pack your project So as not having to download file by file Seconded. I'd like to look at it, but I'd rather not download each file. ...Show All

  • Windows Forms Problem with loading the data in Datatables

    Hi - I have a problem with loading the data in Datatables. I am using vs.net 2003 environment. I have 10 Tables in my database. I am loading 10 tables in one dataset and creating relations for those Tables. Out of 10 tables one table have millions of records and takes so much time to load the data. Is there any possiblity to load this data quickly or create a thread which will load this data in to data table background once the thread is done i can assign and bind this data to my datagrid. I tried this scenario but it's not working for me. It's failing. I'll appreciate if some one can help me with the solution or Any working alternative solutions. Thanks Reddy reddy4all@gmail.com Hi- Thanks for the response. My main intension is loa ...Show All

  • Visual Studio Express Editions disable on form load

    Hi there i have a really strange question i have a simple form with a combobox from the combobox i have a liust of items which trigger certain events my problem comes when i load the form as a draft job sheet from an xml file it enters text into the combobox and then fires the code that is ralated to selected index change but when it loads as a draft i dont want this to happen is there any ideas would be appreaciated thank tim hi thanks for the reply that was how thinking of overcomming the problem but i thaught maybe there was a better method thanks ...Show All

  • Visual Basic Operation must use an updatable query

    I have an app that shares a mdb in a shared folder at the windows server 2003. After instalation i get this message... Operation must use an updatable query I have checked everything and even given total control to authenticated users but yet got the same error. I works fine on other servers with the same deployment. Any help please Jorge Laines There are several things to look into for an access database. 1) Have you given the users rights to the mdf file or the folder Access requires a second log file to be dynamically created and destroyed when you open it. If you don't have create and remove rights on the folder, it might not work properly. 2) Make sure your table data is coming from a single table with no ag ...Show All

  • Visual Studio Express Editions Open Specific File

    Hi all, How can i open a file without using the OpenFileDialog and i know the location to display a text file into a rtf box Any Help will be appreciated, Thanks in advance MW200675 Still does not work, private void label1_Click(object sender, EventArgs e) { this.rt.LoadFile("C:\\Documents and Settings\\test.rtf", RichTextBoxStreamType.RichText); } The error that comes up now is file format not valid, Anyway, thanks so far, i hope we can solve this problem soon ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Joining DirectSound to existing app

    I am trying to use DirectX DirectSound which I need to attach to an existing Windows application in order to capture a signal. Since playing sounds is easier, I decided first to attach a button to the existing application that would play a sound. The DirectX 9.0 documentation seems to have no direct tutorials in which such a function is attached to something else. I have done a fair amount of experimenting but am stuck. Specifically, (1) (this is probably trivial) I don't know how to specify the "control" variable in the method Device.SetCooperativeLevel(). (2) (apparently more serious) the instruction "dsDevice = new Device();" throws the exception "[description of instruction] is attempting managed execution insi ...Show All

  • Visual Studio 2008 (Pre-release) DLINQ: Please help

    Hi, all I created a c# windows application to try out the DLINQ Im using LINQ May 2006 Preview with VS2005 and connect to Sql 2005. i use sqlmetal to generate the MySample.cs (my sample database) and Mappings.xml and my windows application compiled successfully. when i try to run it, i got a exception when excute below public MySample(string connection, System.Data.DLinq.MappingSource mappingSource) : base(connection, mappingSource) { } say "the type of 'SurfTrack' is not entity". SurfTrack is a table in my database and i can see the sqlmetal create the class SurfTrack in the MySample.cs as well as the mapping information in the Mappings.xml. anyone can tell me what is the problem. thanks a lot. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A C++ version of the XNA Framework?

    Are there any plans for an unmanaged C++ version of the XNA Framework (along the same lines as the managed and unmanaged versions of the sample framework) pisiiki you should be able to use other .NET languages if your target platform is windows. Everything I've read so far from the MS guys in reference to the 360 indicates C# will be the only option (at least for now). ...Show All

  • Visual C# split textBox1.text into paragraphs

    Please can someone help me with the regex.split expression I need: to be able to split the string of text in textBox1 into paragraphs where a blank line between lines of text is the delimiter. If i understand what your saying correctly thiers this:: using ( StreamReader sr = new StreamReader (ofd.FileName)) this is using a OpenFileDialog "ofd" this .listView1.Items.Add( new ListViewItem (sr.ReadLine().Split( ':' ))); // Adding a Semi Colon example johndoe : 0123456 than theirs:: StreamWriter writer = File.CreateText("reminders.txt"); writer.WriteLine("Dont forget its Mothers day"); writer.WriteLine("Dont forget its Fathers day" ...Show All

  • Software Development for Windows Vista Event cannot be delivered

    hello there, i am trying to extend HOL04 of the WF hands on lab beta 2, well i am just adding some text areas (name, e-mail, ...) on the application form so the person who orders can be later notified through e-mail activity. for this reason I have changed the OrderService.cs into namespace OrderLocalServices { public class OrderService : IOrderService { public OrderService() { } public void RaiseOrderCreatedEvent( string orderId, Guid instanceId, ContentItem content) { if (OrderCreated != null ) OrderCreated( null , new OrderEventArgs (instanceId, orderId, content)); } public void RaiseOrderShippedEvent( string orderId, Guid instanceId, ContentItem content) { i ...Show All

©2008 Software Development Network