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

Software Development Network >> Aaron Oneal's Q&A profile

Aaron Oneal

Member List

Programm3r
boran_blok_edan
tdtdtd
Karthick1020
dreadjr
BlindCoder
John230873
Jorge125
Magos294963
DaveInCT
tonyerfer
Pradeep T
VBAddict
HowardRichards
Amit Online
João Cunha Lopes
Anil Narayanan
greatway
Sudhir Chawla
HMote
Only Title

Aaron Oneal's Q&A profile

  • Windows Live Developer Forums Robot Invaders Contest - Who did you vote for?

    The robot invaders contest ( www.robotinvaders.com ) is closed for new entries, so all bots are in. A total of 51. With $40.000 in prizes, everybody of course wants to win. But which bot do you think will make a good chance The prizes: Grand prize (1): AlienwareR MJ-12 7550 Workstation First Prize (1): BoseR LifestyleR 48 DVD Home Entertainment System Second prize (5): AlienwareR Sentia M3200 System Third prize (10): GarminR nuvi 360 User's choice: 80 GB USB Portable Drive / DX1 Input System / LED Binary Watch The bot with the most votes on September 15th gets the user's choice award. It looks like that would be " samplebot@hotmail.com " with a total of 412855 votes! Amazing. Last time I talked to that bot though it could ...Show All

  • SQL Server Inserting to Dimension on Failed Lookup

    First, I'm very new to SSIS, so forgive any stupid questions. I'm trying to normalize some data by creating rows in a dimension table as I find new values in the original table. My first thought is to use a Lookup to replace string values with id's to the Dimension table, and when the Lookup fails, insert the value into the Dimension table with a new key. Does that make sense This would be relatively easy to do with TSQL, but surely there is a way to do this in SSIS. Thoughts   Greg Akins wrote: however, this really seems like an unnecessarily complicated approach. Since I'm new to this, I'm inclined to think that I'm making it more difficult that it needs to be, but can't think of another approach.   ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Microsoft C# Not C# express

    Say if you used the real C# not the C# express would there be more features than C# express. In relation to GSE and XNA there are no real features that you actually need, you will find that the options missing are generally the wizards and the ability to perform remote database connections. The only real downfall is the linked source control in the pro versions, it would be nice to have it included in GSE. And there is also the class designer... ...Show All

  • SQL Server update variables with scripting task

    Helo, I'm using a simple scripting task to update the value of a variable: Public Sub Main() Dim EndeJahr As String EndeJahr = InputBox("Text") Dts.Variables("EndYear").Value = EndeJahr MsgBox(Dts.Variables("EndYear").Value) Dts.TaskResult = Dts.Results.Success End Sub The Package is working fine and the message box shows the actual value. My problem is that when I change the of value of my variable, the value of variable is not changing, when I restart my package!!! What's the problem any ideas Jonas, How are you running the package. You really don't want to do input boxes in packages. If you want to interface with the package from an outside application, you can use the object model. ...Show All

  • Windows Forms Can't disable a button

    I am programming in c#. I have a button on my form that when clicked, it plays a wav file using the PlaySound method from winmm.dll. The wav is about 3 seconds long. The problem is that if I keep clicking the button during the 3 seconds the sound is playing, it queues all of the clicks, and plays the wav over and over. My Button is named btn. So I tried: this.btn.Enabled = false; PlaySound(...); this.btn.Enabled = true; Doing this successfully greyed out the button while the sound is playing, but it still accepts clicks, so it didn't fix my original problem. Is there some way to clear the event queue Or is there something else I'm doing wrong. I just want the button to not work while the sound is playing. I have also tried ...Show All

  • Windows Search Technologies ADM File for WDS 3.01 not Working

    Hi, I have run the installer, copied the extracted folder and located the desktopsearch30.adm file. When I import this into GPMT I cannot locate any of the settings within the User Configuration area. I was expecting it to be User Configuration\Adminstrative Templates\Windows Desktop Search or similar. I have imported the MSN Search Toolbar ADM without any problems and straight away the settings were viewable. Am I missing something, has anybody seen this before Regards Ben I have worked out how to exclude certain paths via GPO. The problem wasn't so much that the template wasn't there for excluding paths, but what the syntax should be. Anyhow, just been fiddling for an hour and got these keys in ...Show All

  • Windows Forms String to int, Visual C# 2005

    Hey, How do you make the value of this: pictureBox1.Width = (maskedTextBox1.Text); pictureBox1.Height = (maskedTextBox2.Text); an integer becuase I get an error saying can not convert string to int...     Thanks :) Hi, Yeah, I can reproduce the problem and it does say that it's FormatException problem. The reason you got the error is that you forgot to use the try... catch ... in the radiobutton5_checkedchanged event handler. Besides, this event fires when you CHECK the radiobutton5 and UNCHECK it. That is to say, when you check the radiobutton4, the radiobutton5_checkedchanged event fires as well as the readiobutton4_checkedchanged event fires. Therefore you should check if the current state is chec ...Show All

  • SQL Server Grouping Data

    Hi Exports I have a simple question, but I can't seem to get around it. Please help. I have a table like this: [select * from Enrollment] Course ID PersonID Role BCC110 123 Student BCC110 321 Student BCC110 456 teacher BCC123 457 Student and I want to have a report like Course ID Total Students Total Teachers BCC110 2 1 BCC123 1 0 How do I achieve this Sam This will be more efficient, as it should only 1 table read instead of 3: select e.CourseCode, sum(case when role ='Student' then 1 else 0 end) as TotalStudent, sum(case when role ='Teacher' then 1 else 0 end) as TotalTeacher ...Show All

  • SQL Server Parameters in WITH part of MDX

    Hi, I need a parameter within the WITH part of an MDX Statement in Reporting Services. I tried several types, but all will bring an error. I will do it like: WITH MEMBER [Measures].[Amount] AS STRTOMEMBER(@MyMeasure) SELECT { [Measures].[Amount] } on columns, ...... The @MyMeasures should be a combobox with the values like Name: Sales Volume (kg) Value: [Measures].[Sales Volume KG] Name: Sales Volume (m2) Value: [Measures].[Sales Volume KG] ... and so on. What's my failure Thanks Hans Hi Adam, The error is: The query will not be retrieved from the query builder. Check the query for syntax error. The syntax of WITH MEMBER [Measures].[Amount] AS STRTOMEMBER(@MyMeasure) ...Show All

  • Visual Studio Express Editions delete rows

    what is the code to delete a row from a database, the binding navegater has the delete function, but when i select a record to delete and press the delete box on the navegater i get an error telling me a must have a delelet command. what does theat look like, my database is working fine until i want to delete one. thanks a delete command looks like this: "DELETE FROM tableName WHERE [ field] = someValue " which will delete a record on a condition that matches. usually you would delete a record by ID but not always - here is an example: "DELETE FROM tableName WHERE [ID] = IDValueHere " to delete ALL records: "DELETE FROM tableName " ...Show All

  • Visual Studio Express Editions migrating from standard C++ templates to Visual C# generics

    Hi. I've been programming on C++ for a few years and now I'm getting started with C#. I must say that this language, plus the garbage collector, saves lots of headaches when programming. However, I seem to miss a subtle, but highly useful feature from C++. In C++ I could do something like that: // Note that this code is C++, not C# class n_aryTree<class T, int N> { private: n_aryTree<T, N> children[ N ]; //Array of pointers ... Now, if I try to do something similar in C#, I find that I can't: the T parameter is no problem, but the N one is impossible to put there: it seems to be that C# generics only allow type parameters (the ones I used to declare in C++ as being of the 'class' type). Is there any way to get a equivalen ...Show All

  • Software Development for Windows Vista SqlWorkflowPersistenceService and locking

    Hi, Does the SqlWorkflowPersistenceService lock WF instances that are unload from persistance by default From what I am seeing when a runtime unloads an instance from persistance unlocked = 1 and blocked = 1 meaning that the instance is not locked. Can other concurrently running runtimes also unload this instance even if it is executing in a seperate runtime Thanks, Brian Actually this one should also be a good post for your question: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=371851&SiteID=1 Thanks, Kushal. ...Show All

  • Visual Studio Team System Change Project Build Order

    Hi, I have this problem with team build: Solution: Solution.sln, Project: Project1.csproj, Compilation errors and warnings CSC(0,0): error CS0006: Metadata file 'C:\...\something.dll' could not be found Solution: Solution.sln, Project: Project2.vbproj, Compilation errors and warnings vbc(0,0): error BC2017: could not find library 'C:\...\something.dll' vbc(0,0): error BC2000: compiler initialization failed unexpectedly: The filename, directory name, or volume label syntax is incorrect. The something.dll is being compilied from a C++ project that is being reference by both C# (Project 1) and VB.Net (Project 2) projects. When I look at the build order in the team build log, the something.dll Project is not being compili ...Show All

  • Gadgets hello!! problem with web sidebar gadget

    Hello, im new to ur forum. I'm working on a very simple gadget, but i have problem with the flyout and with showing a web site in it. Can anyone tell me how i show a wesite within the flyout box. Thank you very much.   Jonathan Abbott wrote: A few problems: 1. The <script> section needs to be within the <head> section. 2. Change the <g:background> and fix the typo on the onclick <g:background src="vera.png" opacity="30" /> <span id="machName"></span> <span style="font-family: Tahoma; font-size: 10pt;"> trailer" </span> <a href="" onclick= " setFlyout('http://www.microsoft.com');"></br>Show</a> I now have it like this: ...Show All

  • Visual Basic Datagridview Problem

    I Have a datagridview with three columns where column 1 is combobox. My Main problem is that 1. When I select an item in the combobox column 2 is change to the coresponding data from the dataset for Example my Dataset has the following information colunm 1 contains Item Codes colunm 2 contains Item Descriptions. now I want want i pick a certain item code in the ComboBox column 2 to be updated with the item Description. Column 2 is a textbox. How do I go About it since i realised that GridViewCombobox doesnt have Indexed Changed property. 2. I was trying to format textbox cell in that when i leave the cell after entering data, it should be formatted to specified format for example if it is a currency it should format to ...Show All

©2008 Software Development Network