DevboyX's Q&A profile
SQL Server SSRS and Teradata
Is anyone out there using SSRS with a Teradata data source R There are a few old threads in this forum related to using different data providers to connect to Teradata (e.g. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=479438&SiteID=1 ). -- Robert ...Show All
Software Development for Windows Vista Multi threads problem in Directshow AVI MUX
I am writing a directshow application to convert a flash movie into an avi movie. When I am running this application in one thread, everything works fine. But when running in multi threads, the application always gives me the E_INVALIDARG error code when IMediaControl->Run() is called. I tried to push multiple threads running and there's only one thread can finally finish the task. The rest all get E_INVALIDARG error code. I tried different codec such as MJPEG Compressor, 3IVX and etc. None of them solves the problem. My best guess is there could be something wrong in the AVI MUX like File Writer, File Sink Filter Or maybe one thread opens up something and forgets to close it I have been struggling with this problem for couple days an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Point sprites in XNA
I was wondering if i would be possible to display point sprites (in 3D) using the BasicEffect When I specify the position and the texture, I see colored points where the sprites should be (really the size of pixels). I guess the BasicEffect doesn't support point sprites, but because I cannot find the PointScaleA-C renderstates in XNA, I still have some hope. I found the PointSpriteEnable renderstate remained functional: setting this to false would draw black pixels at the position of my point sprites. Try something like this as a starting point: float4x4 View; float4x4 Projection; texture Texture; sampler Sampler = sampler_state { Texture = (Texture); MinFilter = Linear; MagFilt ...Show All
Windows Live Developer Forums Modify Posting XML?
Is there any supported methods of changing the xml that's posted back to the blogging service I'm specifically interested in supporting Atom categories for the new Blogger service, but I'd imagine there'd be other uses for that as well. All the API seems to allow is posting of content into the blog post itself, not the supporting data. ...Show All
Visual C# Another word about Enumerations
Hello All. I wonder if I could get you folks to check my thinking on this, because I'm wondering if there isn't some aspect of enums that I'm overlooking. Now, as I understand it, an enum consists of an ordered set of named integer constants with the ability to reference the name of the constant as a string. So, the salient points are these: named: good for code readability constant: good for switch statements integer: good for control statements and indices; bad for type consistency string: good for basic output; n/a for localized output Okay, the app I'm designing has several collections and matrices representing various states and lookups, so I really need named integers for indexing in order to keep the cod ...Show All
Visual C++ MSDN Forum Problems
Last week i had some problems in posting my replies to MSDN forums. Yesterday one of my post were automatically posted and even I could not edit or delete it :( What could be wrong I tried with both Firefox and internet explorer to post my answers. I believe this not the problem at my end. Even if error page displayed. some of my answers were already posted to the forums Is there any problem with Forum Servers ...Show All
Visual Studio Express Editions FormName.Show()
I'm trying to just use a simple Show() function to open a form. It should work, but doesn't. ahmedilyas wrote: you need to create a form instance in order to show it :-) Dim theAboutForm as new AboutBox1() theAboutForm.Show() The same applies for the rest.... Thanks, but now I can't test it, because when I go into Debug mode, I get the same error as before, and it won't open the application. ...Show All
Visual Basic Add input from textbox?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim TextBox1 As String = "TextBox1.Text" Dim TextBox2 As String = "TextBox2.Text" If Button1.CanSelect Then TextBox3.Text = TextBox3.Text & TextBox1 & vbCrLf TextBox3.Text = TextBox3.Text & TextBox2 & vbCrLf End If End Sub What is supposed to go into the RED parts to take the info(text) from the text boxs and add it to the TextBox3 I don't know what do you want to do with this code, but I think you must edit it : Edited Use Environment.NewLine instead of vbCrLf is a strong recommendation. ...Show All
Internet Explorer Development DHTML node inserted event
I'm currently working on a project with MSHTML where I need to respond when a node is inserted into an HTML document that is currently displayed in the browser. Is there any event which IE throws that I could use as an indicator that this happened I've already looked at the DOMNodeInserted event (which would be perfect if IE fired it) and the property change event (which doesn't fire for innerHTML). Is there something I'm missing Also, there are cases where I need to respond to changes in third-party websites, so I will be unable to actively call my response function directly; this is by nature reactionary, I just need to know what to react to. Anyone know what I can ...Show All
.NET Development dataset and autoincrement primary key
I'm creating a data entry form, and all my data is stored in in-memory datasets. I'd like to add functionality to add new records (i.e. rows) to my dataset and accordingly sent them to the underlying database table. I'm wondering what the best practice is: first updating the dataset (new row) and secondly the database table, or vice versa How do I for example handle primary keys that are set to autoincrement when first updating the dataset Is there a call that I can use that auto-increments the primary key or do I first have to add the new record to the database table and then refresh the dataset Please your advise. Check out Bill Vaughn's article, Managing An @@Identity Crisis at www.betav.com - under ...Show All
.NET Development Error using FTPWebRequest
Hello, I want to upload a file through ftp, and I have a simple code like this: filename = "ftp://e-breadmaking.izr.com/Ebreadmaking/VR2/" + filename; Uri u = new Uri(filename); FtpWebRequest f = (FtpWebRequest)WebRequest.Create(u); f.UsePassive = false; f.Method = WebRequestMethods.Ftp.UploadFile; f.Credentials = new NetworkCredential("user","password"); Stream requestStream = f.GetRequestStream(); // upload file.... requestStream.Close(); but it raises an exception in the line Stream requestStream = f.GetRequestStream(); saying "Remote server error (550) ... " What is the problem Thanks ...Show All
Visual Studio Express Editions Converty Byte to Char
Hi all I have been using C# Express now for 3 months and I love it. I am trying to convert one of my Delphi apps into a C# version but am havning trouble with the serial port component. I have a device attached to my serial port which sends a message every now and then. I can retrieve the message but am not sure how to convert it to a readible format. Any assistance will be greatly appreciated. How do I convert the following to a readible format Is there a standard way of doing this or must I contact the vendor. Perhaps I am not getting the strings from the device in the correct format AAAAAA AAAAdaBR CCCCCCCC CC8 AAA | | A ea … A+eeeee e)iicat AAAAAA Best Regards Ross Hi David Many thank ...Show All
Visual Studio 2008 (Pre-release) Smart client callback
Hi there, I'm just learning wcf technolgy and it should be great. However, i have a question about how to implement callback. I have a smart client and a service under iis. My client call it's method and it's ok. I want to do something more complex now. I want to notify my smart client when a external event coming. So I would like to have a service with a method that i can invoke and the service method implementation will able to notify one or more smart client. Is it possible to do this Thanks a lot for this help Best regards, Nicholas, I just posted this in another thread. I've got a sample that uses bi-directional callbacks and is rigged up so that you can have 1-infinite number of connecte ...Show All
SQL Server Management Studio Solution user-defined project folders?
When you create a Solution/Project in Management Studio, it creates 3 folders for you - Connections, Queries, Miscellaneous. It does not appear that there exists the ability to create your own set of folders, either under the project or any of the 3 provided folders. Does anyone know of a way to do this If you are working on a project that has hundreds, perhaps thousands of stored procedures, views, etc., there currently seems to be no way to organize them. If this is true, this is an incredible MS oversight! Thanks! I already did. I also started my own post to this issue a long time ago. https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=127 ...Show All
Visual Basic XML Comments
Using the PowerToys VBCommenter in VS2003, I would get comments that look like: ''' -------------------------------------------------------------------------------- ''' Project: CEC.LMS ''' Class: LMS.User ''' <summary> ''' Class for managing data access to the lms user table ''' </summary> ''' <remarks><para><pre> ''' RevisionHistory: ''' -------------------------------------------------------------------------------- ''' Date Name Description ''' -------------------------------------------------------------------------------- ''' 6/30/2006 csuriano Initial Creation ''' ''' </pre></para> ''' </remarks> ''' ---------------------------- ...Show All
