TheFreeman's Q&A profile
Visual Studio Team System Invalid postback or callback argument when trying to add a Web part
I was trying to change the lay-out of the shared page of the sharepoint portal. After adding a webpart i got a screen where i selected all the web-parts and after that the startpage of portal did not contain any webparts anymore. When adding new webparts to the startpage of portal the following error occurred. Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScr ...Show All
Visual Studio HTML Help from .HLP Projects
I have a series of projects to convert from the older .hlp style to .chm. The HTML Help workshop has a convert option, but it fails most of the time for graphics. I use HTML Workshop to convert the .hpj file to corresponding .hhp relates files. All seems to go fine, but virtually all the graphics images in the original .rtf files are missing from the fiinal .chm result. In some cases, it works fine, but that's the minority of cases. Any ideas Ed Yes, unfortunately there is not a convenient one-to-one conversion mechanism in the basic tools we provide. If you use a tool like RoboHelp, you may be able to more successfully import your .hlp source and convert it to an HTML Help project. ...Show All
Visual Basic how to implement the "Add new" button
hi all, I am using the DataBinding to bind a couple of controls on my form to an Access db. i managed to do an update on the modified rows. I just cant program the button that is behind the "add new" button. I am using VS2005 Pro. please download the solution from here and make sure u change the path of the DB to wherever u put it . http://www.wegraphics.com/dotNet/addnew.rar this is the code in case u dont have the IDE ... thanks alot for any help. Public Class Form1 Public WithEvents dt As New DataTable Public WithEvents da As New OleDb.OleDbDataAdapter Public WithEvents conn As New OleDb.OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Se ...Show All
SQL Server C:\Program Files\Microsoft SQL Server\90\DTS\ folder missing
C:\Program Files\Microsoft SQL Server\90\DTS\ folder missing. Why is this folder missing on my XP machine. I installed DTS backward compatibility components, SQL SP1 and Hot fixes. Im installing it on a non-server. Is this the reason I found it. Our packager must have customized the SQL package so that this dir resides at - C:\MSSQL9Data\90\DTS\Binn. ...Show All
SQL Server Metadata Model in SSIS 2005
Hi *, Can anyone tell me what Metadata Model Microsoft supports with SSIS 2005 DTS in 2000 was supporting OIM but I was not able to get some information about this topic on SSIS 2005. The reason I need to know is that I wanna import some metadata from Business Objects Data Integrator into SSIS 2005 and Business Objects is supporting CWM.... I would appreciate your help! Thank you, Steve Steve, Some thoughts here for you: http://blogs.conchango.com/jamiethomson/archive/2006/08/15/4353.aspx I'd be interested in reading your paper when it is complete. Do you think that would be possible -Jamie ...Show All
Software Development for Windows Vista baseclasses don't be builded in VC2005,why?please help me
error description: ..\DXSDK\Samples\C++\DirectShow\BaseClasses\ctlutil.h(278) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Is there any new version dxsdk can solution the problem Must Rewrite these codes to solution the problem thinks for answer. Take a look at http://blogs.msdn.com/mikewasson/archive/2005/05/23/421116.aspx . ...Show All
SharePoint Products and Technologies Reorting Services and MOSS 2007
Hello Can someone point me to an article on how to hook up MOSS 2007 to reporting services installed on another box Thanks Hi Ray, I think you need to install SQL 2005 SP2 and the associated sharepoint addin. (Trying to get this working myself.) http://download.microsoft.com/download/f/2/5/f250ed72-c102-4216-8653-63189e24fa02/readme_rsaddin.htm#_rsshare_installation_3 Martin ...Show All
Visual C# How to merge the print documents
Hi All, I'm developing an application based on C#. i've an issue in the printing. I've the third party components on charts in my application. Now how can i add my data (which are taken from my form) with those charts in a single print document Thank You, Sriram Inform by the developer of the components how you can get an Image of the chart, this is possible on all the chartcontrols I have used and just draw this on your PrintDocument. An good article about printing can be found here: Printing using C# . ...Show All
Visual Basic How does one hide a ListView column?
Is it possible to hide a listview column I don't want to remove it, and I want to process the data in it. I just want to hide it. The problem is that the column will contain potentially sensitive information, and I want to be able to protect against shoulder surfers. The problem is, I cannot find a ListView.Columns( n ).Hide() method or a ListView.Columns( n ).Visible property. Is this possible to do, or do I just have to remove the column It doesn't seem like it should be all that hard. Thanks, Mark Warner. Hi! Did you find a solution to this I have the exact same question and apparantly no solution :-( Thank you in advance Kai Fransson ...Show All
Visual Basic Printing areas of a form and increasing the size
I have an order form that I would like to print out on A size paper but the PrintForm only uses a small area of the page. How can I enlarge the mage to fill the whole page. Also is it possible to print only a part of a form. Thanks Please look to Scrollable option problem thread. May be it can be helpful for you ...Show All
SQL Server programmatically setting package variables in job step command line
We are trying to start a server job running an SSIS package and supply some parameters to the package when we start the job using SMO. What we have now is this: string cmdLine = job.JobSteps[0].Command; cmdLine += @" /SET \Package\GetGroupRatingYear_Id.Variables[User::RatingId].Value;1"; cmdLine += @" /SET \Package\GetGroupRatingYear_Id.Variables[User::GroupId].Value;1"; cmdLine += " /SET \\Package.Variables[User::period].Value;\"" + periodEndDate + "\""; job.JobSteps[0].Command = cmdLine; job.Start(); It appears that when the job is run, the modified command line is not used. What is needed to supply runtime parameters to a job step when starting the job via SMO Thanks, So managing a job in this way seems a bit of a pain. Why not l ...Show All
Visual C# Comparing values in an array and SqlDataReader?
Hi ya, I'm trying to compare an array and the values of SqlDataReader and I can't actually figure it out. I used to work with ADO and new to .net I want to compare them and then if the values are not matched to the SqlDataReader, I want them to store it into a recordset but there is no recordset in Ado.net plus i think my logic has some flaws as well. Cheers The code: for ( int i=0; i <=countme-1; i++) { myCommand.CommandText = "select * from tbl_empDetails" ; SqlDataReader myReader = myCommand.ExecuteReader(); while (myReader.Read()) { if (myReader.GetString(abc) != SID[ i ]) { Response.Write(SID[1] + " " + givenName[1] + "<BR>" ); } el ...Show All
Visual C++ Inactive Process slows down in XP.
I have an observation to share and would like if someone can come up with explanation and any way around to fix it. Actually I have an application running on XP that retrieves data from db and displays a graphical representation of this data. This operation is performed on request and this application is a small part of a large system having other processes more agressively running. So it is a very common case that this application's process remain idle for long time and then on request performs its operation and goes back to its inactive state. Initially when I start the system and plot the data trend it work pretty efficiently, but when I perform the same operation (same amount of data with same trend configuration) after for exampl ...Show All
Visual Basic debbuging question
- When I do: try catch to check a dataadapter, all I get is general message. how to debug the stored proc or to know what line of code inside the stored proc or what param exactly is causing the pb I appreciate your help Hello. Instead of the generic exception have you tried catching the SQLClient.SQLException This might give you a bit more relevant error information. More information on debugging stored procedures from inside your Visual Studio IDE can be found here . Hope this helps! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Will build #5536.16385 of Vista be compatible with D3D10 in August'06 SDK?
Hi, Just checked my email and it seems that beta testers (maybe MSDN people as well) can now get another pre-RC1 build of Vista. The August'06 SDK states that the D3D10 CTP will only work with RC1 of Vista and the other recent pre-RC1 build wasn't good enough. So, just wondering if anyone here knows if 5536 will work with the August SDK or if we still need to stick with Beta-2 and the June SDK. Would save me a lot of time before I go and download 5gb of ISO's and spend a few hours setting up my test machine... Cheers, Jack Ralf Kornmann wrote: I haven't seen x64 ISOs for this build so far. My bad for not checking connect: 8-25-06 - Click here to download the latest 5536.16385 ...Show All
