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

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

Blackice

Member List

byronfromwesleyan
Spenceee
Tyrael Tong
Inferno986
ideal24293
Tasadar
GaryMcC
Thecentury
Jens Doose
eldiener
CBuilder
galbox20
Steve Eichert
averge joe
kuankuo123
hula_samvaad
mcobrien
hchavali
Spydaz
AamirKhurshid
Only Title

Blackice's Q&A profile

  • Visual Basic randomizing

    Hi there; I have a simple question: i'd like to randomize numbers (eg between 1-10) and like to check whether the generated number has already generated previously, and if so, then generate a new random number, and so on, until each number has been chosen once. In this case, the randomization should restart, reseting all previously chosen numbers. Can anyone post me a code sample thnx for helping me out; You are looking for a shuffle sort. Here is some sample code in a Console application that randomly sorts numbers from 1-10 without duplicates: Dim x, mix, temp As Integer Console.WriteLine("Shuffle Sort - Random numbers without duplicates") Console.Write("How many numbers (up to 20) do ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?

    Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream Hi there, I don't know if this is the right forum for this but I was reading this thread and had a question. I haven't done hobby PC game programming or C/C++ coding since the early 90s. I started to get back into C/C++ game programming by looking at the GBA (I went back to my roots and have been coding in 6502ASM). Just when I was about to get started I read the news on XNA. I've read a few things on C# and CLR. I've read that managed code can run as fast if not faster than unmanaged code. Anyway, back when I ...Show All

  • Visual Studio 2008 (Pre-release) Creating ADO.NET DataSet definition files, C#

    Hello, I do reporting solutions, VS2005,C#, SQL Server 2005. I am looking for a way to set up a typed ADO.NET DataSet definition reference before actually generating a DataSet. I heard it can be done thru a C# Class, XML Schema .xsd file, etc. What options do I have Thanks, Serge Hi Erick, Yes, I want to store the resulted DataSet Class so that I could use it in my report building tool later on. At one of the steps I will give the user a chance to choose among Available Data Sources so that the needed tables could be selected. "ADO.NET DataSets" will be one of the list items that will, I hope, have the DataSet Class created using the XSD Schema. So, we have created all ob ...Show All

  • Visual Studio Express Editions storring stuff in DLL

    Hello Everyone, I know that there are alot of questions in this forum about using SQL, Access and XML to store data, but I have noticed that some apps dont have a visable database, which has lead me to think that all the information is stored in the DLL files! My questions 1. Is this possible 2. If (1=true) {How ;} I would perfer to try and learn this at my own speed, so referances would be nice, but if you have code then I'll try and figure it out from there. Also would I need to change from Express Edition to do this (I have access to the full version, well an Academic version)   Thanks in advance   Scott If you were stroring the data as lines of data in the file using StreamWriter.WriteLine( ...Show All

  • Visual C# Trig on a Simple Circle.. I thought it would be easy!

    I started a new post because maybe there is a limit to my questions But at least I'm serious and I'm really not sure if I can ask the question in terms you Math. folks understand. Or I understand either.. I made a bitmap of a thing I will call a compass, you know.. a rectangle bitmap with some arrows that point outward to represent...  N,NE,E,SE,S,  etc.. In another post, I .. (  ' I  ' as in the posters help!  ) solved almost all of my problems by making a region.. EXCEPT ONE (Well, maybe Two) (Two, which I will not bother you with at this time).. Sorry if I carry on but just me... But I enjoy myself... As stated before in other posts, Math. was NOT my best subject (oth ...Show All

  • Visual Studio 2008 (Pre-release) DependencyProperty issues with User Controls

    Hi all, I was hoping someone could please help me with an issues. I am trying to set a property on a user control, like this; <my:SmartInput LabelText="XXXX" /> The user control file looks like this; xaml (snipped): <TextBlock Name="si_Label" Grid.Column="0" Grid.Row="0" /> .cs (snipped): public partial class SmartInput : System.Windows.Controls.UserControl { public static readonly DependencyProperty LabelTextProperty = DependencyProperty.Register( "LabelText", typeof(string), typeof(SmartInput), new PropertyMetadata(String.Empty)); public string LabelText { get { return (string)GetValue(LabelTextProperty); ...Show All

  • Windows Forms 3rd party dll not in global assembly cache

    Hello, I have created an application that has 3rd party controls. I published it to a file system for local network install. When I click 'install' on the default page, I get an error "xxx.dll not found in global assembly cache". What causes this and how can I publish the app so users can install it successfully That's a complex question... :-) The first thing to figure out is how the 3rd party expected the controls to be deployed with your application. There are 2 common options. The first option is that the .dll's should be deployed along side your application. If that's the case, then you should open the Application Files dialog on the Publish Page and include the .dll's... you might ne ...Show All

  • Windows Forms Drag and Drop Label containing text into another panel

    Hi all, I was wondering if it is possible to do the following: I have a toolbar-like panel on the left of my form, on the right side of my form I have a larger panel containing nothing. In the toolbar are panels containing labels with text. I want to be able to drag such a panel to the panel on the right side and drop it there. I want it to be dropped on the exact location where I released the mouse button, that exact x-y position. Is this at all possible Any help would be appreciated. I have a large panel called pnlTarget, this contains smaller panels which in their turn contain richtextboxes or listviews. I tried to give the richtextboxes or ...Show All

  • Windows Forms How to make verical scrollbar in gridview wider

    Hi, I need to make vertical scrollbar in gridview and combobox wider because I am building a touch screen application. Any help or links will be appreciated. Hi, If what you're asking for is about ASP.net, then this forum is not the most appropriate one. If you what you're saying is about DataGridView, then there is no direct support for this modification. I'm afraid you have to subclass the datagridview. Fortunately, there is a protected property named 'VerticalScrollBar' which gives you more control over the scrollbar. Hope this helps. ...Show All

  • SQL Server How DO I Generate a Table Of Contents For a Report??

    Hi!!! Can anybody help me with the generation of Table of Contents for a report using SQL Server 2005 Reporting Services. Let me ellaborate. The scenerio is...i m having a report of lets say 500 pages grouped on employees, showing the performance of each employee between specific date range. Now if the manager prints the report of 500 pages he will be more intersted to jump directly to a perticular employee's page which means my printed report had to have a Table of Contents on my grouped criteria (which in this case is employee number). I would really appriciate if someone can suggest me a solution for this. I have been working on this table of content thing for a week now. I have somehow found a solution for that. You can write ...Show All

  • Smart Device Development VS2005 SP1 RTM

    Yeah!! We've done it. VS 2005 SP1 is RTM. There are significant improvements for Smart Device development. You can read device development improvements here http://blogs.msdn.com/mgaur/archive/2006/09/26/772519.aspx . and general SP1 information here http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx and about VS 2005 on Vista at http://msdn2.microsoft.com/en-us/vstudio/aa948853.aspx . Manav I had to jump through hoops to get SP1 installed on my 2003 server. I had the 1718 error multiple times, and the only way to get the patch installed was to remove the machine from the domain, and change registry keys to not enforce the signing per a blog of workarounds. Not only that, but apparently you ha ...Show All

  • Visual C++ Intellisense + object instances

    Okay, this is driving me nuts. It seems that although intellisense works beautifully on classes themselves (IE classname::), it never works on instances of classes. But of course, most of the time that I need to access class methods/attributes, I'm working on an instance of the class. Is this an actual limitation of Visual Studio's intellisense, an option I've overlooked, or maybe just a problem within my current project All of the instances that I've been using show up in the object browser, so I don't think anything is wrong with their definitions that might be throwing intellisense off... I never was happy with the intellisense of Visual Studio. Yes it was always improved but it never reaches the excele ...Show All

  • Visual Basic why my clickonce downloading not completed?

    I made publish for new version of my application, what happen is, One of my customer download 60% of my new version, and stop. what is the problem yes it is, and One of them mostly download at 100% or near of them and then show this message I don't know if swap connection (I mean bad connection goes high and goes low), appear this error !! ...Show All

  • Visual C++ VS.NET 2003 SP1 is available

    It is here! VS.NET 2003 SP1 Englisch: http://www.microsoft.com/downloads/details.aspx FamilyID=69d2219f-ce82-46a5-8aec-072bd4bb955e&DisplayLang=en KB (see also at the download link)   http://support.microsoft.com/default.aspx scid=kb;en-us;918007 (The KB articel link seems to be broken currently)     Got it. It required 1.4 GB of freespace to run the installer (!) The final install was only 500 MB though.  It also didn't fix the known bug http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=100308 :( ...Show All

  • Visual Basic Terminal Services Control (msrdp.ocx) vs Remote Desktop Client 6.0 (KB925876)

    Hello! I am writing simple application (on VB6 first, then VB.Net and C# with the same result) that uses the control MsRdpClient2 from msrdp.ocx. Everything works well until I install Remote Desktop Connection 6.0 client update (KB925876). My application now said it cannot load this control from msrdp.ocx. Cheking msrdp.ocx file ... and found it's still available in "C:\WINDOWS\system32\web\tsweb\". Then simple test "regsvr32 msrdp.ocx" ... and now my application works again (but seems it's not good idea to do this on any computer except test lab). Doing registry state comparision before and after update installed shows that MsRdpClient2 now lives in mstscax.dll and if I understand correctly it's not now UI control( ). ...Show All

©2008 Software Development Network