donnie100's Q&A profile
Visual Basic Add New Data Source for My SQL doesn't work
I have tried also installing and using the ODBC driver version 3.51 and the My SQL driver 3.1.8. None of these work. What do I have to do to add a new MY SQL data source Michael I provided you with all of the information required. I tried to use visual studio 2005 enterprise edition - visual basic and then I installed the ODBC driver 3.5.1 and then I removed it and then I installed MySQL driver 3.1.8. No matter what I did I could never add a new data source. This is the third time I have explained this to you. No matter how I try to explain it to you don't seem to understand you constantly tell me install the drivers that you already know time after time after time that I have already tried and it doesn't work. Please ge ...Show All
SQL Server Built in limit or setting that limits the number of rows from an OLE DB Source Table in a Data Flow Task?
I have a table that I'm loading as part of a control flow that in turn is copied to a target table by using a data flow task. I am doing this because a different set of fields may be used from the source entry to create the target entry based on a field in the source table. That same field may indicate that multiple entries need to be created in the target table from one source table entry for which I use a multi-cast transformation. The problem I'm having is that no matter how many entries there are in the source table, the OLE DB Source during execution only shows 7,532 entries being taken from the source table. If there are less than 7,532 entries in the source table, everything processes fine. More than 7,532 and the data flow task ...Show All
SQL Server Clustered constraint v clustered index
I inherited a database where the designer uses unique clustered constraints instead of indexes for primary keys. Now as far as I can make out, there is no performance issue because it is clustered. My question is, why only create a unique clustered constraint instead of a unique clustered index My thinking is that a primary key should be ceated as an index rather than a constraint. Does it matter Hi Kenster. A unique clustered constraint, a unique clustered index, and a primary key are all really different objects/types. A primary key is a constraint, so when you create a primary key, you'll end up with a primary key constraint to enforce it...a primary key uses a special unique constraint beh ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Embedded resources, Xbox 360, and the ContentPipeline.
I have an IDrawable (DrawableGameComponent) that I wish to include in a windows/360 game component library for use by other developers or even personal reuse. To make the component more friendly and useful I would like to include some resources that are to be used by default without having to force the end user to not only include the component library, but also include any resources that the component would offer by default. Now under XNA on windows I have already figured this problem out and can embed and access embedded resources. However when my example is moved into a XBox 360 game project the function I rely on under windows, Texture2D.FromFile() is not exposed (I use a resource manifest stream to access the embedded data). I have lo ...Show All
Software Development for Windows Vista InkCanvas child added/removed notification
I've been strugling to find a way to get notified when a UIElement is added or removed from an InkCanvas... I've tried using the OnVisualChildrenChanged override for this purpose, but it doesn't do the trick... aparently all the children of InkCanvas (like text or shapes...) are contained inside an inner canvas used internally by InkCanvas, to which we get no access. It is _that_ canvas' OnVisualChildrenChanged which would offer the information I want. Is there any other way to do this Thank you. I looked into this for some time but didn't find anything that worked. I ended up redefining Cut/Paste/Delete functions so that I could determine which children were added or removed. Vinay ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA certification exam
I apologize if this is not the right place to ask, but I've seen some requests for DirectX certification, for which there were(/are) no plans, and I've been wondering this about XNA since I first noticed it on the Startpage of VB express: Is there going to be an XNA certification exam, as part of a current development cert, or a MCGD cert for example (covering Net2.0 framework + C# + XNA ) It would justify spending some more time on learning all the ins-and-outs rather than 'just' what I need, and I'd love to see some MS Training Kits on XNA... If there is, can we expect to see a beta around the holidays or is this something for on the long term I'm sure there will be a demand for such a cert from students, professi ...Show All
Visual Basic Can I initiate mousewheel by a MouseHover over a Panel instead of being Click activated.
I don't like the current behavior where to zoom in or out on a graphical object with the mousewheel I have to click on the panel first before anything will happen. This isn't very user friendly. The user should just be able to go right to the mousewheel if the mouse cursor is within the panel boundaries. Is it possible (and if it is how do I do it) to have a MouseHover event help out Public Sub panel1_MouseHover( ByVal obj As Object , ByVal e As System.EventArgs) Handles Panel1.MouseHover what would I put here to activate the MouseWheel event below 'If this makes sense End Sub Private Sub panel1_MouseWheel( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles Pa ...Show All
SQL Server Create new row on the fly
I have data that looks like the following ID ===== 123456 234567 345678 456789/567890 654321/765432/876543 In some instances, the older system had to store multiple IDs in one field and used a "/" delimiter. Does anyone have any ideas on how to create new rows on the fly and split the IDs out to the new rows Thanks in advance. Just to follow through, here's the working code: Public Overrides Sub Input0_ProcessInputRow(ByVal Row As Input0Buffer) Dim index As Integer = 0 If Not (Row.CSV_IsNull) Then For Each value As String In Row.CSV.ToString().Split(","c) 'Add a row to the output buffer: Output0Buffer.AddRow() 'Preserve columns from the input buffer: ' ...Show All
Visual C# Time
Okay, so I am trying to make an alarm clock program for computer, to familiarize myself with C#. What I need help with, is I have the dateTimePicker tool for setting the alarm, and I have a label for displaying the current time. My coding problem, as it were, is that I cannot figure out how to make the label display the current time, or how to get my program to play the music when the time comes around. I already have the ability to open a file, and have set the file filters for WAV, WMA, MP3, MP4, and MIDI files. so, my program can open files, but of course, at this moment, it cannot use them. Any help would be greatly appreciated. to play the audio, in .NET 2.0 there is a class that will play a ...Show All
.NET Development HttpUtility.UrlEncode(str) How to?
Can anybody tell me how to implement this correctly I have tried using it directly, but although HttpUtility is initially recognised, it does not hold any methods other than '.ToString()' and 'GetType(); etc... Also I have tried declaring it in many ways in the code but I just cannot get it to function. The closest I have become is generating it as a 'public sealed class' and inserting the method in there; unfortunately this didnt come off. I am having real trouble defining this so please any help in any way would be great. Thanks alot JWH. See this post please: Edit: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=937059&SiteID=1 I hope this will help! ...Show All
Visual C# Static function cross thread sharing problem.
This is my code to close a form. public static void Clear() { if (form1 != null) { form1.Close(); <----- cross thread error } } first i got a problem with cross thread sharing. then i created a safe method to close the form. private delegate void Delegate(); private void SafeCloseForm() { if (InvokeRequired) Invoke(new Delegate(SafeCloseForm)); else form1.Close(); } so now i got public static void Clear() { if (form1 != null) { SafeCloseForm(); } } But i have new problem with the static method An object reference is required for the nonstatic field, method, or property... What should i do ...Show All
Visual Studio Express Editions Microsoft.VisualBasic.Strings
Error 1 The type or namespace name 'Strings' does not exist in the namespace 'Microsoft.VisualBasic' (are you missing an assembly reference ) C:\Documents and Settings\Michael\My Documents\Visual Studio 2005\Projects\EasyEditor\EasyEditor\Halo2.cs 166 46 EasyEditor using Microsoft.VisualBasic; What can I do to make it work For the record, have you added the a reference to the Microsoft.VisualBasic namespace, using the Solution Explorer If so, indeed add the "using Microsoft.VisaulBasic;" reference on top of your class and create a new instance, such as: Strings myStringsInstance = new Strings(); Let me know if that works. Otherwise, please provide a code sample of what you are trying to ...Show All
SQL Server CURSOR INSENSITIVE
Hi, DECLARE MyCursor CURSOR READ_ONLY FOR Select statement it seems I could not use INSENSITIVE in this cursor declaration, how can I accomplish that INSENSITIVE in the declaration is a SQL-92 syntax, and READ_ONLY is not. So they are part of two different versions of cursor syntax (confusingly smashed together. Check books online in the DECLARE CURSOR topic and it shows the two different syntaxes together. Why do you think you need both INSENSITIVE implies read only: INSENSITIVE: "modifications made to base tables are not reflected in the data returned by fetches made to this cursor" And to answer your other question here. Cursors are pretty horrible for you SQL performance i ...Show All
Windows Forms Change minimize,maximize and close buttons
hi, it's there any way that i could change the look of the maximize, minimize and close buttons in the default windows form ..let's say the color , the style or shape or something like that (by the way, does these buttons have a special name ) The easy answer is to create your irregular shape form for example http://www.codeproject.com/csharp/formregion.asp http://www.codeproject.com/csharp/nonrectangularform.asp http://www.codeproject.com/csharp/irregularshapedform.asp http://www.thescarms.com/dotnet/IrregularForm.asp the hard one is to look at non client area drawing function api ...Show All
Visual Studio Cannot open En_vs_2005_Pro_90_Trial.img file. This is microsoft visual 2995 trail version. Pleae Help?
I am NEW, know nothing about programming. I wanted to download the trial version and learn something about programming in the hopes of automating my work. I cannot open the trial version..... .img file. Help, please I cannot burn it to DVD because it says there is not enough space on the disk. When double-clicking the file, I get the message "Cannot read file header!" "Unknown file format or file not found!" Again, know nothing about programming. This is my first stab at learning. I don't know the lingo. Just need help opening the file so I can learn the visual studio program. I bought a book from barnes and nobles to teach me the language and such. Thank you in advance for your help. Are there any ...Show All
