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

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

ronks

Member List

user32
JohnWP
ivanbolcina
Jehan Badshah
Sam Jost
ANTRASOFT
TomPearson
Horst Klein
dylanh
nglow
rajendra patel
Manash
XNA-Mordt
mta37
Shiny Zhu
wakawaka54
TarPista
JuniorBR
scottm87
Rashid.A.V
Only Title

ronks's Q&A profile

  • Windows Forms Creating an options dialog for my WinApp

    I’m about to create an options dialog that will be opened from my windows application main Forms menu. I have many different “modules” in the application which each of them need to have an own options dialog. For sure this is a common situation. I need some kind of “pattern” to create an Options dialog and add the other modules option dialogs in a tab-like way. All tips of how I can do that in a clean way are welcomed!! My next thing is to store all these settings (properties) in some kind of file and then restore the settings when my application runs next time. I’ve tried searched some articles but I really don’t know what to search on… What about creating options dialog simular like the ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where to upload demos?

    Ok so I have an XNA demo game I want to upload but I don't want my web site to get slammed. Is there a good site to upload the demo to or something like a blog/dowload site that I can start I would like something XNA or MSFT based if possible. Thanks. talk about test before you comment, You were right Derek, I downloaded theproject from codeplex myself an it wouldn't run ;-( I have re-compiled it (thats all!!!) and now it seems to work and I am re-uploading the release to the coeplex site, should be done in a little while. I willmark the commnt on the release when it's done. Doh Darkside ...Show All

  • Windows Forms Question for a .NET Master : Mouse Wheel+PrintPreviewControl+?=Scroll

    Does anyone know a trick to make works the Scrolling with the mouse wheel on a PrintPreviewControl. There should be a way by catching the MouseWhell event and then sending the corresponding windows message to the control Steve No I haven't. It is something I probably will look into once the project gets started again. (I am hoping that by the time the project gets started, MS will already have included the functionality.) ...Show All

  • SQL Server Can i host a SQL2005 EE DB on SQL2000 engine ?

    Hi, I'd like to host a small website created using VS2005 EE with a company that offers just SQL2000 DB support. My question, can i use the DB created by VS site manager as a DB to the site, if not, is there any alternatives. Thanks. hi Amol, nope, this is not an option... you can not move a SQL Server 2005 database to a SQL Server 2000 instance even if modifying the compatibility level... regards ...Show All

  • Visual Studio Express Editions Logistical/Planning Question

    I am trying to figure out the logistics of how to do something. Simple terms: I want the end user to be able to add and remove fields from certain records, depending on what type of record it is. I have a widget 1000 which needs the following fields name, serial number, date, comments I have a widget 2500 which needs the following fields name, serial number, comments Then say a month later the end user wants to add a model number to the widget 1000 and the widget 2500 and take the date off the widget 1000. Then the user wants to add a widget 3000 later on with its own custom sets of fields. The names and widgets are just examples and not actual data. I am just trying to figure out the logistics of how to do this. I am thinking I'm going to ...Show All

  • Visual Studio Express Editions How to question

    Hello to All: How can I fix an error without using a try and excepiton block Below is my code and the lstProduct line is causing an "argumentNullExceptionWasUnhandeled" error. Is there a way to fix that. Any help welcome Loop Dim intCount As Integer For intCount = 0 To products.Length - 1 lstProduct.Items.Add(products(intCount).strName) Next I'd use something like the following For Each s As String In products If s IsNot Nothing Then If products(intCount).strName.trim.length > 0 Then lstProduct.Items.Add(s.strName) End If Next This way I'm simply iterating through the products collection, verifying its set to something and that the strname has something in ...Show All

  • Visual Studio 2008 (Pre-release) PeerChannel throttling controls?

    How does one properly throttle a PeerNet network when messages are pouring in faster than the receiving nodes can process them I'm trying to prove whether or not PeerChannel would make a good foundation for publish-subscribe style messaging that is reliable and robust enough for an enterprise. My initial testing has been very positive. PeerChannel is looking to be super-reliable so far. Sending 10,000 messages in a 5-node configuration: 0 message loss, 2,500 msgs/min to 4,000 msgs/min per receiving node Sending 100,000 messages in a 5-node configuration: 0 message loss, 2,500 msgs/min to 4,000 msgs/min per receiving node Send 1,000,000 messages in a 20-node configuration Fine for first 2 hours (about 175,000 messages) then a ...Show All

  • Smart Device Development How to see a form without the need for events?

    I have a simple program with one form, running on a CE 5.0 device, and the code in the form builds a file, and then exits the program. I wanted to run the 'build' sub from the initial 'load' sub, and then exit the program, but by doing so, the form never appears...and I need it to appear, because while it's building the file, I need it to show data in a label on the form. Note that if I have messagebox code in the 'build' sub, it shows those, but the form itself never appears if I run it from the 'load' sub. So, I took the logic to run the 'build' sub out of the 'load' sub, and added a button to the form, and now I'm running the 'build' sub from within the button click event--and then the form shows up just fine. And, I guess that makes ...Show All

  • .NET Development How can i change ConnectionString at runtime in Data Access Application Block?

    Hello, I used Enterprise Library 2.0 in my application. i want to know that is it possible to change ConnectionString at runtime if we are used Data Access Application Block. Well i have company list in my application and on that based i have to change database name in ConnectinString on selected company name. Hi, OK I'm a bit lost here. Could you further explain what's inside your application block Are you using typed datasets Or a certain kind of datalayer Any additional info would be great. :) Does your Application Block contain a Connection object If so, every connection object has a ConnectionString property and the connection string property is a string that you can modify freely. cheers, Paul June A. Do ...Show All

  • Visual C# Finding Drivers

    I want to write a program that finds the drivers that you are using on your computer and copies them to a zip folder for storage.  I am thinking I could enumerate through the registry under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ and find all of the names with InfPath in them and find the name of the inf file.  Correct me if I am wrong then try to find the inf file in the windows\system32 folder.  Then search the inf file for the full path of the driver.  I could then copy the file into a zip.  So now for my questions, is this possible programitacally   Second, would this be an effective way or is there an easier approach   Third, I don't know how to do all of this and was ...Show All

  • SQL Server Extremely slow Excel MDX

    Using Excel as a client is most of the time exceedingly slow. For example writing a simple query of the type: SELECT [Measures].[Some Measure] ON 0, [Product].[Product-Version].[Product] ON 1 FROM [Cubename] in Management studio is in Excel transformed to: SELECT NON EMPTY HIERARCHIZE(AddCalculatedMembers({DrillDownLevel({[Product].[Product-Version].[All]})})) DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON COLUMNS  FROM [Cubename] WHERE ([Measures].[Some Measure]) which takes several times longer to execute. As one starts drilling down it becomes increasingly worse with excel producing MDX that takes 100:s of times longer to execute then if I handwrite the mdx. This is with a very simple cube where Some Measure is no ...Show All

  • Visual Studio Tools for Office Nothing happens when opening Office App with cached typed dataset

    Hi all, I'm hoping somone can help me with this VSTO 2005/Office 2003 Pro issue... First a bit of background info; I've got a web service which defines a typed dataset (PurchaseOrders) that acts as a wrapper for views in our backend SQL 2000 database. The web service works fine, and returns exactly the information I require. I have also created a very simple word application which has a proxy to the web service and has my typed data set refenced and a cached, typed dataset object defined, it can happily fill it's cached data island with PurchaseOrder data - no problem at all. The issue occurs when the third app comes in to play - it's a web site which is to become our intranet, which I've set up to populate the word app with PO ...Show All

  • .NET Development Can I pass null to parameter of a webmethod ?

    Hi, I'm just beginning to build a simple WebService using C#. Server part program is like: WebMethod(class obj) I'm trying to pass a null to this WebMethod (the client program is written in C#2.0), somehow the client program throw out exception, said obj cann't be null. Can't I pass in null Also I can't set some fields of obj to null. it also throw out exception. How can I solve it When an exception is being thrown it helps if you provide the whole exception including the stack trace. It usually helps us identify the problem quicker and more accurately. ...Show All

  • .NET Development Strange exception in mscorlib with CultureInfo using code converted to .NET 2.0

    Hi, I recently converted an application that was originally developed in VS 2003 and .NET 1.1 to .NET 2.0 using VS 2005. I've faced many problems with the conversion but was able to resolve all of them except this one. I hope this is the right forum to post this question in. If it's not, please direct me to the appropriate location. This problem is not repeatable because the failure is inconsistent in where it appears. Sometimes the error happens in one place, and sometimes it doesn't, and then happens a few lines later - with the exact same settings, situation, etc. This is the code that generally causes the problem: private CultureInfo DeserializeCultureInfo(byte[] cultureData) { MemoryStream stm = new MemoryStream(cult ...Show All

  • Visual C# 'esc' key ?????????

    I want to exit a c# command line program that i made by pressing only the 'esc' key. How can i do that thanks (make it simple!!!!)   Great work!!! :)   thanks.... ...Show All

©2008 Software Development Network