Ladik's Q&A profile
Visual Studio Team System Custom HostZone
Hi, I am trying to create an applications boundary shape on the Application layer. I envision it to have similar behavior and shape to the Zone object (Host layer). I created the following definition but unfortunately it behaves like regular system shape. < SystemDefinition Name = " SystemsCluster " Layer = " Application " Extends = " System:SystemDefinition " Abstract = " true " > < Description > ...Show All
Visual C# compact framework data types with symbian data types
Hi i like to develop a desktop application in .net while a client application is written in symbian in series 60 phone. However .net and symbian use different data types. Is it possible to do it, meaning can the desktop application transfers data to the symbian application correctly Thanks ...Show All
Smart Device Development Windows CE - CEPC Display Problems
I'm trying to determine if developing my industrial PC using WinCE is possible. I've downloaded the WinCE500 demo version and I've done the following (with only slight variations): Made a simple CEPC OS design with the Display Driver: VGA Linear (flat) Framebuffer Made a bootdisk using CEPCBoot.144 Ran vesatest.exe to find valid run modes (800x600x16) Ran "LOADCEPC /V /E:0:0: /L:800x600x8 eboot.bin" Successfully uploaded the NK.BIN from my development computer. When I do this, the Target's display goes black and the debug information stops being sent. I've tried it in different modes and only one works: On the config.sys bootmenu, ...Show All
SQL Server INCLUDE Clause
Im trying to decide if I should or shouldnt use the INCLUDE clause on indexes in SQL 2005.. Or if I should continue creating standard covering indexes. I care mostly about the performance differences.. If anyone could share a definitive answer I would really appreciate it.. Thanks, Paul Hi Paul, I don't think there is much of a difference between included column and non-included column covering indexes, unless you need to cover either: A) More than 16 columns or B) Columns that are LOB types If either of those cases apply, then I ...Show All
SQL Server SQL Server reporting services
Can the report grouping be changed or chosen by using parameters Thank you for your help. You can reference a parameter value from the group expression. You can't turn off a grouping, but you can change the group expression to return a constant value, which effectively, would disable the grouping. ...Show All
Windows Forms Windows Forms Loading slow
Hi, Just out of interest has anyone experienced the following behaviour in a windows MDI form. We have converted our 1.1 project across completely into the .NET 2 runtime so we are executing it without using any of the new controls. The problem we are getting is that the rendering of the forms is slightly strange. We are see our forms render& ...Show All
.NET Development Building a DataSource for both WebForms and WinForms?
I need to build an application that dual-implements about 100 screens in both Web- and Win- forms. The clients will get their data using doc literal Web services off the J2EE back end using wsdl.exe-generated objects. I hope to use the SDK 2.0 version of wsdl.exe but, due to an apparent bug in 2.0, might have to resort to 1.1. I might note I'm a "Java guy" so I'm pretty green about .NET--I may be missing something obvious, just let me know. Anyhow, I've got a model-view-controller architecture worked out and would like to (re)use essentially the same data model across both WebForms and WinForms. Knowing .NET 2.0 has DataSources ...Show All
Software Development for Windows Vista How to create a workflow programmatically?
Are there any samples that would show how to create and/or modify a workflow programmatically, i.e. from a program, not from VS.NET IDE or a hosted designer For example, the program would create a new workflow, add a couple of activities to it, and save the serialized workflow definition (in a file or database). I can find examples explaining how to modify a workflow instance at run time, but I need to create a workflow definition, not the instance. Any hints Thanks. Alek Hi Alek, I think I can clarify several things for you. So anytime you create an activity or a wor ...Show All
.NET Development security options
Hi. I just like to know what is the best way of making my application (very small, really to be used as a demo) more secure Basically the application gets some day from a stream (could be text file with some scripting code) and then displays to to the user in IE or some other method now, obviously if the user has javascript code, when the page is being loaded(html), it will obviously execute. we of course do not want this for alot of reasons. So what I did was simply to replace all the html tags with something else to prevent the script to run when the page is being loaded. This works fine. However I am wondering if there is perhaps some ot ...Show All
Visual Studio Team System Headache converting from NUnit
Our application is dependent on XML files, so as part of the unit testing project we have a folder with sample XML files that are loaded during the tests with commands like: _sessionDocument = new XmlDocument(); _sessionDocument.Load("..\\testxml\\namesession.xml"); Since we build our projects to the bin\ folder (as opposed to bin\Debug or whatever folder may get created for the configuration name) doing the ..\ gets the project folder, and then we go down one level to the testxml\ folder. This lets us store the XML files right alongside source code in source control, just in a folder for nice organization. NUnit handles thi ...Show All
Windows Forms opening a paticular cell in editMode when dg row is highlighted
hiya, When the user clicks on a dgRow, I want to be able to be open the 5th cell (in editMode) of the selected dgRow.Ideally, I want the underlying datable to be updated if the user subsequently enters data in this cell and then moves focus to a different control on the winform.(I can do the update no prob, but I'm not sure which dg ...Show All
Visual Studio Team System need help reg. PDB - FxCop
I am using C# .Net V1.1 for my project. I need help on retrieving the start and end source line number of a given method. Can this be done through reading the PDB file I basically have few coding guidelines (specific to my project) where I want to check those through a tool. So, I am planning to read all Classes, Methods, Members through .Net Reflection and once I find the Method Name and its signature I’ll get the method and its implementation from the source .cs file and I’ll look for the adherence to my coding guidelines(by string matching) . So, for this I need to know the source code start and end line numb ...Show All
Windows Forms What is the AddNew method of BindingContext???
I need to try this question again: Does anyone know what the AddNew method of BindingContext Class is It is not documented in the Class Members. Here is the code that generated this question. This code is found on a form displaying one record at a time. This code appears to prepare the form for data entry; but other than incrementing the& ...Show All
Smart Device Development Save DataGridView contents
I need to save the contents of a DataGridView to a file. Do I unpack the Grid to an array and save the array, or is there an easier way Also, the colums contain different data types, must I resolve that myself or is there an easier way There's no DataGridView on devices. Are you in the wrong forum, perhaps ...Show All
SQL Server SQL Agent Failing when trying to run my SSIS Package
I found a similar thread posted under the same title as this by dba123. Unfortunately, his solution does not match my problem. I have a SSIS package that will run fine in debug mode, will run fine when published to the server when I right click and execute it. However, when I run it through a job, either scheduled or running the job manually, the job fails. There is an entry in the servers application log telling me that "login failed for user xxxxx" where xxxxx is the name of SQL login that I am using. I know that the login works (logged in manually to the server via management studio, and it runs fine when I run it manually). ...Show All
