Reb3lzrr's Q&A profile
.NET Development Another newbie question....
If I dynamically create a SQL data adapter and create an update command with commandText that has paramaters in it is there a way to generate parameters for the SqlCommand automatically or am I going to have to manually add these parameters Im thinking that I have to do it manually but the data adapter wizard manages to create an insert sql automatically so I was wondering if theres a method out there that can accomplish this task. Yeah. I was looking for a single method call, if it existed. I will look into the SQLDMO / OLEDB Schema table interface to see if I can implement somthing like that. That will be for the future though. Thanks for the response! ...Show All
Windows Forms License agreement dialog box
Hi , I would like to add licence agreement dialog box for VB.NET Windows/Compact framework source codes. Meaning that,User must choose "agree" to see the source code. How to do it I used VS2003. Thank You Hi, Thanks for ur reply. I know , there is a license agreement dialog box in setup project. but If i prepare .msi then it'll be in executable form . right How to see the source code then we need to add source code as a additional text file Sorry. i don't understand. kindly guide me. Thank You. ...Show All
Visual Studio Express Editions Matrix implementation problem
Hi everyone, I am implementing a matrix program which create matrix according to the values on a file and write to or read from files the values of the matrix. However, since I am not able to compile my program, I would like to ask you that whether my class si logically correct and whether it gives a compile time error or not. If there is unexpeted situations in my code, would you please help e to fix them class SymmetricMatrix { public: int index1; int index2; int **matrices; /* * Constructor that initializes an empty matrix with a given size. */ SymmetricMatrix(const int matrixSize){ size = matrixSize; matrices = new int*[size]; for(int a = 0; a < size; a++) matrices = new int[size]; // assigni ...Show All
Audio and Video Development Dynamic change of media type in an existing topology
As I wrote before, I'm implementing a MFT that among other things also performs scaling. SO, now, with the RC1 it looks like the format change passes correctly and I get renegotiation over the media type in the MFT. On the other hand, on the player it doesn't seems to affect. When I use IMFVideoDisplayControl::GetNativeVideoSize(), the size is the same as it was when I created the topology, though, since the type was changed in the MFT I see a small part of the scaled video on the same size of video window. Is it possible to change the size (the media type) of the renderer dynamically or should I recreate the topology and if I should, how (from the beginning ) Thanks!! Haim An update on thi ...Show All
SQL Server Reporting Services (SSRS)
Hey everyone...I'm completely new to SQL Server and I'm trying to learn the Reporting Services tool. I just installed SQL Server 2005 and selected to install all the options, atleast I'm 99.99% sure I did. When I go to launch Report Services Configuration, I get "No report servers were found on the specified machine. Details: Invalid namespace". Do I need IIS for this to work Also, I do not think the AdventureWorks database was installed, I cannot seem to find it anywhere. I have tried to go back through and reinstall it, but it says that it is already installed. Also, is there a certain order that you are supposed to install things i.e. SQL Server before Visual Studios Thanks in advance. *Edit* BTW, I'm using Windows XP, SQL Serv ...Show All
SQL Server Totals on last page only - How?
Just started (today) using RS2005. Me and my Brian Larson MS RS2005 book. Can't figure out how to get my Grand totals to ONLY print on the last page of my report. They are calculating correctly, but printing on every page. I guess I wouldn't mind if the totals were page specific, but it's not even doing that... Thanks!! Hi I have a table with grand totals in the footer of the table, to print the grand totals on the last page I set the Repeatfooteronnewpage to False. ...Show All
.NET Development ampersand representation
I have a stream of data that I store in a DataSet and then write in an XML file. One of the strings comes as a company name " Procter & Gamble Co ." This is how it ends up in the XML: < named > Procter & Gamble Co. </ named > What is the best way to handle such situations There might be other special symbols I now do not foresee. If I place an "@" in front of each string that I put in the DataSet (before WriteXML is executed) would it help Shall I parse every string to see if special characters are present and insert "\" in front of them or what Thanks for any advice. Using @ or \ does not help in any way because this is not a C# or .NET "problem". XML requi ...Show All
Software Development for Windows Vista Web service output only happens when instance idles
Hi, I have a workflow using the default WebServiceOutputActivity and hosted using the ManualScheduler service. I expected the web service output to be sent when the workflow executes the output activity. However, the runtime continues to execute the workflow until it idles and only then sends the response to the caller. Is this expected behaviour If so, why not send the response and then continue to execute the remaining activities Is there any workaround to force the response to happen sooner Thanks -- Nuno but the workflow is using THE thread that your web service request is executing on, so the web service code itself does not even gain control back before the workflow idles. There is no easy way to r ...Show All
Visual Basic from flat file to combobox
I am trying to avoid accessing a database by reading a comma delimited flat file into my application. I use the code snippet below to accomplish that. What I need help with is how to then get the data from the file into a combobox so that the user can select the value desired. The items in flat file are formated as follows: XXXXXXXXXXXXXXXXXx,999.99 Can someone please help with the correct code Thanks Howard Dim filename As String = "C:\tbl_AxisI.txt" Dim fields As String () Dim delimiter As String = "," Using parser As New TextFieldParser(filename) parser.SetDelimiters(delimiter) While Not parser.EndOfData ' Read in the fields for the current line fiel ...Show All
Visual Studio Breakpoint Unconditionally Skipped!
Hello, I am using a program like this. I create a project, I type this in, and then F5 it. Then when I hit the first breakpoint, I add a "data breakpoint" at &c. Yet, it does not break when the variable c changes. What am I doing wrong #include<iostream> using namespace std; void main() { float a,b,c; (breakpoint) a=.23f; b=.45f; c=0; c=a+b; cout<<"Hi there!"; (breakpoint) cout<<"What Up Dawg!"; } Kevin, Sorry we've not been as engaged in the forums as we should have been. My apologies. I tried to repro this issue without any success, however I wondered if the codegen may have been at the heart of the issue. If the compiler decide ...Show All
Visual Studio Team System TF60096: Ghost files in VSS
I am getting hundreds of errors when attempting to migrate source code from VSS to VSTF. It keeps erroring out on files that don't even exist in VSS (from what I can see). I have run a VSS analyze and it states that there are no inconsistencies. How can one remove these ghost files from VSS before I do the conversion ...Show All
Visual C++ Forms and Memory usage
hi, i setup a simple Form with nothing on it and compiled it then ran the application, it was in Visual C++ Windows Form Application but when running the application it was using over 15.000k of memory. is this normal for an application of this type just seems a lot of memory for one item that does nothing. thanks Hello Deen, Please follow your previous thread at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=596224&SiteID=1 . Thanks, Ayman Shoukry VC++ Team ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Warm Up Contest Is Up
Just letting everyone know that DreamBuildPlay's first warmup contest is live. spacewar mod not really what I was expecting, but the prizes are pretty sweet. If I had more time, I'd give it a shot, but I think I'll just stick to the main event. ...Show All
Visual Studio Team System Bug following Ignore settings for VSTS Database Developer Schema Compare
I have set the options for Schema Compare to ignore permissions, owners, user properties, and users and yet when I create a change script, it includes users. I am the owner of databases on my PC so I cannot add myself as a user or to the db_owner role. When I do a compare against a server where I am in the db_owner role, but am not THE owner, the tool tries to remove me from access to the server with sp_removedbaccess. The problem is that the tool should follow the ignore setting for user, owner, or something and not remove me from the database. Dale Dale - Did the responses help, or did you have additional questions If your question is answered, I'll mark the thread as answered so we can ...Show All
Visual Studio Does VS2005 Std Ed. Support Crystal Reports? Pls Help
Hi, This may be a silly question.. but does visual studios 2005 standard edition support crystal reports I know that the professional edition comes with a crystal reports component that allows you to creat Crystal reportss within VS, and also allows you to click on the solution explorer and click add > component > .rpt.. But I just want to be able to display a crystal report i've created already within my application. most of the help online revolves around the professional versions crystal features so I've been having trouble getting my report to display. I heard express editions were forbidden from having crystal reports, so I was wondering if standard edition was the same ...Show All
