xochi's Q&A profile
.NET Development PropertyBinding and Settings classes
When using .settings files and their generated Settings classes in VS2005 Beta2, the settings are available for PropertyBinding to a control's properties in the form designer. We have built our own Settings classes (i.e. no .settings files) and they work fine except they are not available for PropertyBinding in the form designer. How do we make our custom Settings classes compatible with the PropertyBinding mechanism Thanks in advance... I'm not sure I quite understand your question. The settings class has a save method that you can call for the instance that you want to save. Assuming that you are using VB and the default settings class, My.Settings.Save should do the trick. Best regards, Johan ...Show All
SQL Server how to invoke/call Drillthrough Action
Hi, experts: In AS 2005, there is this new type of action, Drillthrough. Is it possible to invoke/call it in MDX to get the results of data defined by the drillthrough action I'd like to use it in RS reports, is there a way to get the results from Drillthrough action maybe via a custom assembly There got to be a way, since it is available for pivital table in SQL BI Dev Studio's Browser. Any idea, sample thanks William Well, invoking a Drillthrough Action actually returns a Drillthrough statement. Thus, the Drillthrough Action Form Editor provides a convenient means of customizing the Drillthrough statement; but it still needs to be executed by the client. Maybe I'm misunderstanding what you're try ...Show All
.NET Development Simple Select
Hi guys, I am having a problem performing simple select in VB using SQL server. 1. Simple Select I want to select a field in a row from a table. I will then test this field against an input field in a VB form. How do I perform such a select 2. Constraining Data. I have a form that is bound to a table. It returns all the rows in the table. It is performing well. My problem is that I want to constrain/restrict the rows to a particular parameter at runtime. Example, I have a student table that holds all the students in a given school. I want the user to pass a field parameter say 'Male', the form will return all male students etc. 3. Deleting records. I have a form that displays record, but my problem is that it doe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Material Alpha
For testing purposes I try to create a simple transparency effect, but whatever I do it does not work... PresentParameters presentParams = new PresentParameters (); presentParams.Windowed = true ; presentParams.SwapEffect = SwapEffect .Discard; presentParams.EnableAutoDepthStencil = true ; presentParams.AutoDepthStencilFormat = DepthFormat .D16; presentParams.PresentationInterval = PresentInterval .Immediate; device = new Microsoft.DirectX.Direct3D. Device (0, Microsoft.DirectX.Direct3D. DeviceType .Hardware, this , CreateFlags .SoftwareVertexProcessing, presentParams); ... this .device.RenderState.ZBufferEnable = true ; this .device.RenderState.Lighting = true ; this .device.RenderState.Ambient = Color .From ...Show All
Visual Studio Team System Data Generation - Schema changes
Hi, In CTP5, is there a way to refresh a Data Generation plan if I add a new FK constraint directly in the target DB In other words, in the Column Details tab, it currently shows 'integer' for a certain column. I want that to change to 'Foreign Key' to reflect the changes in the target DB. Thanks, JGP Hi JGP Data Generation works off the schema that exists in the project system. Therefore you would need to update the table containing that FK in order for the data generation plan to be updated. In CTP 5 you will need to import the table itself via the import wizard. However in CTP 6 we will allow you to import the update table from target db into the project system via Schema Compare. ...Show All
Smart Device Development System.Console.ReadLine() always return lowered case string -_-!
Hi, I have a console application that takes user input: seq = System.Console.ReadLine() System.Console.Write("TTT {0}", seq) Readline() somehow always converted the string into lower case so "ABCabc" would become "abcabc" which is not what I really want Is there any way to take user input as it is Thanks, Hi That is a Moxa UC-4708-CE device. It is a industrial device which has WinCE 5.0 embedded. It supports CF2.0 . I basically compiled the above simple Smart Application and upload it onto the device's CF folder and run it. Since this UC-7408 has no display, I am connecting it using HyperTerminal via comm port. I run the application under HyperTerminal and get the abo ...Show All
Visual Studio Express Editions Simple client and server applications
how do i make server and client (but very basic, just to transmit a string would do). I've been programming in VB.NET for a year so im good, but not great. Transmit the string from where to where From server to client or from client to server From or to a database or a text file Where does the string reside We need more information.... ...Show All
Windows Forms datagridviewcomboboxcolumn problem
I have a datagridviewcomboboxcolumn in a datagridview. Now i use the visual editor to databind that datagridviewcomboboxcolumn with a stored procedure from the database. If I un-check the "enable adding", "enable editing", and "enable deleting" from within the visual editor of the datagridview popup box then the datagridviewcomboboxcolumn does not populate and its just a blank box that does not allow me to select an item. Is this normal why does allowing the user to add/edit/delete interfere with the actions of the combobox in the datagridview cheers Boon This is not normal. A comboboxColumn should stay filled when you disable the add, edit and delete usin ...Show All
SQL Server Help with finding the time diff
I am looking for some guidance on what would be the easiest way to obtain the difference between two times and add the result to a another column within a table. For example: Column1 Column2 Column3 11-29-2006 23:32:35 11-29-2006 23:37:21 00:04:46 As you can see from the example above I am wanting to obtain the time difference between the values in column1 and column2 while adding the result to column3. I have read that this can be done and have been told this can be done. But I have yet to figure out a way to make it happen. Any suggestions would be appreciated. Thanks! Why do you need to store the value when you can compute it easily You can use t ...Show All
SQL Server SSIS acquire connection error
Hi there, We have an SSIS package, that when run though BIDS, runs to success. However when running as a SQL Agent Job the following error is logged: "The AcquireConnection method call to the connection manager "Data Source" failed with error code 0xC0202009." The package does use a configuration file as well as protection level of EncryptSensitiveWithPassword. The correct username and password are kept in the config file. How do i fix this The only thing i find in the KB is a solution telling me to use a config file and EncryptSensitiveWithPassword, both of which i already do. Thanks Ok i wasn't able to find a problem here as it has strangely started to work agai ...Show All
SharePoint Products and Technologies About Report center site
All I am a newbie for SharePoint product and would like to ask you some question. 1. I now try to develop the sharepoint site on WSS 3.0 and want to create the dashboard page. AS I understand, it bases on MOSS template "collaboration type" (Report center site) but that template does not have on WSS 3.0. Where can I find it 2. What is the big difference between WSS 3.0 and MOSS 2007 It will have any problems If I try to some site on WSS 3.0 first. I then migrate those sites to MOSS 2007 later Thank in advance Gogzilla Detailed instructions can be found here: http://www.sharepointblogs.com/johnwpowell/archive/2007/01/24/18213.aspx ...Show All
SQL Server Getting "Report Server WMI Provider error: Not Found" while configuring Reporting Sevices Integration WSS 3.0 and Sql 2005
I'm Getting "Report Server WMI Provider error: Not Found" when trying to Grant Database Access while configuring the Reporting Sevices Integration. Logging in fine to the DB. Tried all the WMI troublshooting and can't find any issues there. Any tips Many Thanks!! Thanks, I figured out the report explorer; I was pointing at ReportServer VD when I shoulda been pointing at ReportManager VD (/reports); works well now (except getting it to connect with the reportviewer webpart, but that's for another forum) :). So somwhere I assume there's a config to switch my report server to integrated mode( ); I'll review those references you cite. Thanks for your help!! ...Show All
Visual Studio Team System Command line neede to restart test rig
Hi all I am using mstest to run the load tests from commandline. I have a batch file which runs mstest in loop to run various loadtests. In between 2 sets of load tests, I want to restart the Test Rig. Is there any commandline which I can use to do so Please help. Thanks Priyanka Hello, The controller/agent are services and you can access them as you would any other service running under Service Manager (for more info on how to do this using the commandline, go here: http://technet2.microsoft.com/WindowsServer/en/library/03928250-2796-4253-8fb1-b25329ddf35f1033.mspx mfr=true ). We don't support custom commands or APIs; you may want to investigate the ServiceController class i ...Show All
Internet Explorer Development How can I launch IE in protected mode from a high integrity process?
Hi All, I need to launch IE in protected mode from a high integrity process. I could launch IE with low IL using samples provided on MSDN, but its protected mode status is off. How can I launch IE in protected mode from a high integrity process Thanks, Mojo Launching and Navigating a Protected Mode Process If your application uses CreateProcess to launch IE, it should call IELaunchURL on Vista. This will ensure that your application gets the right return values and that IE launches in Protected mode for URLs whose zone has Protected mode on. If you need to determine whether a specific URL will open in a low (Protected mode) or a medium integrity IE process before launchi ...Show All
Visual C# help with designer
im very new at this and i need some really basic help. i watch a lot of tutorials and when they create a new project (windows game) it opens as game1.cs [design] or whatnot. however, when i create a new project (windows game) it just opens the game1.cs file. what can i do to get the design view for this and even make the files start in design view. i appreciate any information thanks beginner27 ...Show All
