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

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

KitGreen

Member List

Romantic_touch
Infro
Jan Kučera
fugu996
lcestola
Batikit
Gurpreet Singh Gill
John Woodiwiss
VisualCSharp
Jim Dunn
adorablefaith
noob_vber
Jademobile
kencleary
PaulMD
Corgalore
Brian Driscoll
bigshiny90
Marie-Thérèse
mutaba
Only Title

KitGreen's Q&A profile

  • .NET Development Directx Audio

    I programmed midi files to work in my program under the 32-bit environment, using: Imports Microsoft.DirectX Imports Microsoft.DirectX.AudioVideoPlayback My problem is it doesn't work on my friends 64-bit computer. We've localized the problem to the sound, because without it, it works properly. Does DirectX not support 64-bit Do I need to reference other things If so, the code would still be the same right Or should I just reference Windows Media Player or something I dunno what to do, but either way I'd like midi's working on both platforms. Thanks for any help provided! I am indeed building it in the x86 environment but DirectX failed to initialize on my friends 64-bit processor. He al ...Show All

  • SQL Server How Do I Sort the objects in the Integrated Source Safe

    I manage a team of developers and we are using SQL Server Management Studio v9.00.2047.00 I have created a Solution and we've been adding stored procedures and are using Source Safe integration as well. We have discovered that the objects (stored procedure in this case) are not sorted by name when you pull up the solution explorer. This is unacceptable when you have over a hundred stored procedures and you need to find one quickly to edit and check back in. Is there some configuration I don't know about (undocumented or what have you) to enable the objects to be sorted by default I truly appreciate any help. We may have to abandon our approach because of the frustration factor. Bret Williams Unfortunately I'm still havi ...Show All

  • Windows Live Developer Forums Windows Live ID SDK, seriously

    Does it exist Is the team still working on it Is there any news at all For something that seems critical to the MS Live ecosystem being adopted by developers, it sure seems like its been all but abandoned. According to earlier statements, the SDK should either have been released by now /or/ be released in the next few weeks. What's going on For those interested, the Windows Live Id SDK is momentarly in Alpha stage and can be downloaded from the Microsoft Connect web site: Windows Live ID Client 1.0 SDK Alpha Release ...Show All

  • Visual Studio Visual Studio 2005 refuses to use Try-Catch block

    I have a section of code surrounded by a Try-Catch block and the catch is just for a System.Exception, so it should catch everything + the kitchen sink, however, Visual Studio is still breaking into the code at the line causing the problem and showing me the dialog box I have the checkboxes cleared on the Exceptions list so it should not break on CLR exceptions, Native Exceptions, etc, yet it breaks in and shows me an argument exception at the line causing the problem I don't have a funky machine.config or app.config file either that has anything in it that would affect the behavior of the debugger. Why does visual studio refuse to go to the catch block In regards to the Debug -> Exceptions dialog, no, no exceptions a ...Show All

  • Visual Basic prevent tabpage from changing while input is validated

    Greetings: I've got a tabControl with several pages, and the first page presents a summary of the stuff on the other pages. It is set up so that the user input on the back pages is validated on the textbox leave event. A problem occurs when the user goes from entering some invalid text in one of the back page text boxes directly to selecting another tabpage. The validation error messages get shown along with the summary page error messages, and it is not a pretty sight. I tried using a boolean flag in the tabcontrol.selectionChanged event to try to stop the selection change, but that doesn't work. I'm guessing that the selection change event gets fired before the textbox leave event. I've also tried using boolean flags to stop the ...Show All

  • SQL Server Subscript font style in a text box?

    Seems like a long shot, but I'd really like to show "CO2" (chemical formula for carbon dioxide) with the "2" as a subscript, in a report text box. The "CO2" would be embedded as part of a sentence, e.g. "The CO2 emissions..." Is there any way to do this Eva Pierce Monsen I have good news and bad news. The good news is that yes this is very possible. A subscript "2" can be represented using unicode. You can have an expression to convert the "2" character to the subscript "2" character. The expression would look like this: =Fields!FieldName.Value.ToString.Replace("CO2", "CO" & ChrW(8322)) The key part of ...Show All

  • Visual C# Partial class inheriting from another partial class?

    Okay, lets suppose I have three pages - customsearch.aspx This is my main ASP.NET page. Lets suppose it has an asp:Literal called 'warningMsg' - searchtemplate.aspx.cs This is a 'base' class which defines some functionality and methods I want in all 'search' pages. It extends the 'Page' class, obviously. - customsearch.aspx.cs This extends the 'SearchTemplate' class, overriding a few selected methods and adding any custom ones I need. So first off, I do all of this using 1.1 style code behind: (only relevant code shown) - searchtemplate.aspx.cs [code] public class SearchTemplate : System.Web.UI.Page { public Literal warningMsg; //other controls here void Page_Load(Object sender, EventArgs e) { warningMsg.Text = "Page Load ...Show All

  • .NET Development ftp sockets in c#

    hello sir, iam using ftp server(c#), thru my client ftp program is connected to remote server ftp. but iam unable to access like listing files in the remote host, uploading and directory creation and removing . Is that do we need any permissions for doing above operations. iam not getting any errors , but, it is unable to list the files at the remote machine . And also it is not downloading the files from the remote machine ...Show All

  • Visual Studio Express Editions update data on parent form

    Hi, I have a parent form with a datagridview that display all employees under a division each time a new employee is added using a child form, datagridview is not updated. is there way to reload data to datagridview before child form is closed please could smebody help me thanks, Hi, I use child form to add new employee, employee is added to database, it is why data datagridview on parent form is not update. I need to update it before close child form. ...Show All

  • SQL Server Installing SQL Server 2005 on Windows VISTA ULTIMATE

    Hi, Trying to install SQL Server 2005 on Windows VISTA Ultimate, received following error: - SQL Server Edition Operating System Compatibility (Warning) Messages SQL Server Edition Operating System Compatibility Some components of this edition of SQL Server are not supported on this operating system. For details, see 'Hardware and Software Requirements for Installing SQL Server 2005' in Microsoft SQL Server Books Online. Please help. Yes, I log onto the system as local administrator. During the install I select local account rather domain. When the install setups the db service I get the error that it cannot find the local sql server account. The account is something like this: "\USERNAME\SQLSer ...Show All

  • Smart Device Development jpeg too large, cannot convert to bitmap due to out of memory

    Hi, Platform is windows mobile 2003, pocket pc. I am trying to display a 2048x1536 jpeg image (which is about 200Kb in size) but in order to do that I need to create a bitmap representation of it first which is 2048x1536x3 around 10 MB at which moment I am getting an out of memory exception Any ideas on how to display the image, bearing in mind all I want really is to display a thumbnail of it say 320x240 Thanks, radu hi, 200Kb is the size of the compressed jpeg file Bitmap bitmap = new Bitmap(filename); // this is where it gets to 2048 x1536 x 3 ~ 10 MB ... pictureBox1.Image = bitmap and what I really want is a 320x240 picture displayed ...Show All

  • SQL Server How to concate 2 ore more text fields into one field?

    Hello, I hope someone has already done this, but I have a table with a text column- example ColA, now i want to run a query to select the ColA in this table and combine the results of ColA into a ColB in another table. Something like - Note: the codes below doesn't work!! DECLARE @ResultID as int DECLARE @AccID int DECLARE _rows CURSOR FOR SELECT AccID FROM tableA FETCH NEXT FROM _rows INTO @AccID WHILE (@@fetch_status <> -1) BEGIN UPDATE TableB SET Report = Report + (SELECT txtField FROM tableA WHERE AccID = @AccID) WHERE AccID = @AccID FETCH NEXT FROM _rows INTO @AccID END Thanks in advance I tested something like this:(Assume you are using SQL Server 2000 text fields) You can try it ...Show All

  • SQL Server SQL 2005 Management studio slow to respond

    My company hosts a number of SQL 2005 servers and we run the SQL 2005 client tools from various locations also. We have noticed that some servers respond quickly when loading SQL 2005 management studio while others can be extremely slow, taking over a minute just to load up the console (even though the server is idle). After doing some investigating we made made the following discovery when monitoring a server (with some sysinternals tools) which was slow to load the Management studio. First we ran filemon and filtered sqlwb.exe and found when loading up the management studio there were consistent 15 second pauses of no activity. Since there is a 15 second TCP/IP retry delay when a target cannot be reached, we loaded up tcpview and reopen ...Show All

  • Visual Basic Image.FromStream(ms)----> error "Parameter is not valid." Help!!!!

    Hello! I have an OLE Object in my table, that may be jpg, doc, xml file. In case of jpg I'd like to show it (VS2005 Visual basic). I did next (not full code): Dim ms AsNew MemoryStream() Dim reader As OleDbDataReader = cmd.ExecuteReader(CommandBehavior.SequentialAccess ) reader.Read() retval = reader.GetBytes(0, 0, outbyte, 0, bufferSize) ms.Write(outbyte, 0, retval) ms.Seek(0, SeekOrigin.Begin) curImage = Image.FromStream(ms )----> error "Parameter is not valid." I do not see the fault. Please help Hi ,you r getting error FromStream(ms) , previously i also got same Exception. I think when u converting string to byte and passing MemoryStream and after that FromStream, there ...Show All

  • SQL Server database connection error

    Hello all, I am using SQL 2000 database on one machine, SQL reporting services 2005 on a separate machine with report server. I deployed my reports on sql 2005 machine. Now I can see the reports in report manager. When I try to run a report, I get the follownig error... An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'ds_NYBCSTARSQL2_ORION'. (rsErrorOpeningConnection) For more information about this error navigate to the report server on the local server machine, or enable remote errors I opened the datasource connection and found "windows integrated security" was checked. Looks godo to me. But does not work. to try another option, I select ...Show All

©2008 Software Development Network