Software Development Network Logo
  • Windows Vista
  • Visual C++
  • Windows Forms
  • Smart Devicet
  • Game Technologies
  • Visual C#
  • IE Development
  • Microsoft ISV
  • Audio and Video
  • Visual FoxPro
  • .NET Development
  • SQL Server
  • VS Team System
  • SharePoint Products
  • Visual Basic

Software Development Network >> stallion_alpa's Q&A profile

stallion_alpa

Member List

ideal24293
DQM
KAAU
Tom2U
Eswans2000
NeederOfVBHelp
MDesigner
Michelle A.
DOSrelic
KeithFletcher
Blkbird
Denvas
badsign
Sonybglr
xavito
Magos294963
Tigerwood2006
mike6271
Ted.
cindyluke
Only Title

stallion_alpa's Q&A profile

  • Smart Device Development Process.Start() causing TypeLoadException

    I have a console application that uses Process.Start(full_path_to_myapplication.exe, "command_line_arg_1 command_line_arg_2") to start a Windows Forms application that has command-line arguments. (By the way, neither command line argument contains a space.) Trying to do this gives me the following error: Error An unexpected error has occurred in myapplication.exe. Select Quit and then restart this program, or select Details for more information. File or assembly name "YourLibrary, Version=1.0.0.0, culture=neutral, PublicKeyToken=null', or one of its dependencies, was not found. Clicking on details lets me know that this was a TypeLoadException. YourLibrary.dll is clearly there in the same folder as myapplication.exe. If, ins ...Show All

  • SQL Server No data in Data Mining cube.

    Hi, I've created a Cluster data mining model and seems to correctly return data. However I've created a data mining dimension and cube but when I go to query the cube it doesn't return any data if I select any members on the data mining dimension. Any suggestions to where I can look to resolve this Thanks Sanjay Are you saying that for example you've created a cluster model on a set of items, and you want to see the cluster values for items not in the set And you want the slicing behavior to work against those values as well If this is the case, unfortunately, that's not the way it works. The cluster dimension is only on the cases for which it was trained. You could apply the clus ...Show All

  • Windows Forms How to pass reference of control to a property?

    I have a customer control and a datagridview control in one of my windows form. What do I want is to and a property in my customer control and refer to the datagridview, just like refer a contextmenu to a datagridview. then in my customer control I want to access that datagridview. my code is like below, but it doesn't work: <code> class windowform Me .UsCtrl.uDataGridView = Me .myDataGridView end class class UsCtrl private v_rdv as windows.Forms.DataGridView Public Property uDataGridView () As windows.Forms.DataGridView Get Return v_rdv End Get Set ( ByVal value As windows.Forms.DataGridView ) v_rdv= value End Set End Property </code> Please help me ...Show All

  • Software Development for Windows Vista Custom Rule Expression parsing error.

    I am creating some custom rule expressions for my users to make use of in rules. I created a basic sample to sum a list of numbers. When I try to use my expression I get an error from the rule set designer saying: "Error parsing the Action(s): The method "SUM" on type "Company.Workflow.Rules.SUM" does not exist, is not accessible, or has no match with the signature specified." I have downloaded other samples of custom expression and custom rule actions and have used them successfully but I do not know why mine is not working. My code is as follows: I tried simplifying this by just having two expressions instead of an array but I had the same results. public class SUM : CodeExpression, IRuleExpression { CodeExpression[] exps; public ...Show All

  • Smart Device Development ComboBox Control DataSource DataSet/DataTable

    Hello, I am developing a Smart Device Application using Visual Studio 2005 for Windows Mobile 5.0. I have placed a combobox control on one of my Forms. I have written the code that sets the comboBox DataSource equal to a dataSet returned from a private method. Question: whenever I run the application the comboBox is not populated with any data and is blank. I checked my code and everything is correct. I walked through the application in Debug mode and the DisplayMember and ValueMember property of the comboBox are properly declared. After a couple hours of wondering what was wrong I changed the DataSource of the comboBox to a DataTable and the comboBox is now populated with the data. I was under the impression that a DataSet and DataTabl ...Show All

  • SQL Server Populating The Reporting DB - (best practices) (SQL2k5)

    I've populated reporting DB's in the past using different techniques: 1. Have Transactions in Data Tier Write to OLTP AND Reporting DB Simultaneously 2. Log Shipping 3. Restore BAckups Nightly 4. Replication 5. DTS My question is what is the BEST Practice in SQL2k5. I'm all gung ho about using Mirroring but am not certain that this will be the best way to go. My thoughts are something along the lines of this 1. have OLTP Mirrored to what I'll call a "Staging" DB. This is NOT to be used for Failover just as a means of accessing read only data for the Reporting DB 2. Have 2 DBs on another box that are flattened (Denormalized) for reporting (ReportA and ReportB) 3. Use SSIS to Populate the Report DBs ...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

  • SQL Server Tranfer SQL server object task

    I need to transfer a database from a sql server 2005 to a sql server 2000. Since I the transfer database task does not support this I am left with the transfer sql server object task. I have to transfer all tables including the PK constraints and the FK constraints. Is there anyway I can force the task to truncate the tables in a specific order instead of in alfabetical order And I have tried to rearange the order by moving the tables around by opening the tablelist vindow, but this does not seem to have any affect. ...Show All

  • Visual Studio Team System TFS Syncronizing two different work spaces

    Hi, I have two different VSTF servers (one local within my company network, another located on a different domain, where VSTF server is located.) How do i sync these two servers on different domain, and with different credentials Currently i am loggin in to the VSTF server network, and doing a get latest on my local m/c, and syncing up the code. But, how do i allow two different servers to sync up I want the local server set up - to allow different people sync up locally, and at EOD (or so) i want to sync up the changes to central server. This kind of set up has many benifits for me. Thanks in advance. Looks like you are referrring to Clear case multi-master feature. TFS does not support such a f ...Show All

  • SharePoint Products and Technologies How are you gnerating application definitions?

    Hello All, I am just cusrious to know how are you guys generating your application definitions in BDC by hand or using one of the tools out there to auto generate that scary XML file I am unable to find a tool which gives me the ability to include stored procedures in my app def instead of pure tables or views Any help would be appreciated. Thanks a lot Frank, My take on this is 1) Microsoft have always stated that there is a significant market for partners to develop value added tools for the MOSS platform. BDCMetaMan is one example. What they have done is provide a very good import routine that will identify exactly where in the XML you have problems. 2) If you create a lot of BDC meta ...Show All

  • Windows Forms Exception while making a cell ReadOnly

    Hi… In my application I am having a datagridview. On button click event of the other form I want to make user selcted cells as readonly…But in my application its giving exception if I am doing like this… MyForm.myDataGridView[ "Column2" , 0].ReadOnly = false ; It is throwing an exception: ArgumentOutOfRangeException Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index What is wrong in this statement… How I can make a cell readonly from other form… I am getting datagridview columns & rows counts while debugging... Thanks & regards, Vinay ...Show All

  • SQL Server execute SSIS package in SQL Express environment

    Dear all, I have an SSIS package and want to execute it on a computer that only has SQL Express installed on it. Since SQL Express didn't brought dtexec or dtui so what should I do Sorry for my bad English... Thanks for advance, Sorry, I am a little bit confused. I am using SQL Server Developer Edition, which I believe is the same as SQL Server Express. Yesterday I was trying to find out how to do DTS in 2005 and found out on msdn that it had been renamed S QL S erver I ntegration S ervices, and whilst I could not seem to start the SQL Server Import and Export Wizard via SQL Express as outlined in the knowledge base article, I could start it from the command line by running DTSWizard.exe manually as outlined in the ar ...Show All

  • SQL Server Merge Data

    Hi, I have an analysis server which get his data from an AIX. We use reporting server to get some reports. Unfortenately the data on the AIX is incorrect. I created a table called "corrections" . The corrections should be merged with the data Solution 1 : modify the data source view in SSAS and integrate the corrections Solution 2: make a stored procedure that gets the data from SSAS and merges it with the correction. Call the SP from the report. Which one is better And how do you implement solution 1 And where can I find books over creating MDX queries With regards, Constantijn Enders Hello. Solution1 will not be good enough. I recommend you to build a data warehou ...Show All

  • Visual Basic Need help using the "NEW" Keyword in Visual Basic Express

    I am new to Visual Basic and I would really appreciate it if I could get an example of code using the "New" Keyword as in creating a new object. Thanks http://msdn.microsoft.com/library/default.asp url=/library/en-us/vblr7/html/vakeyNew.asp The New keyword introduces a New clause, which creates a new object instance. The New clause must specify a defined class from which the instance can be created. You can use New in a declaration statement or an assignment statement. When the statement is executed, it calls the constructor of the specified class, passing any arguments you have supplied: Dim Obj As Object Obj = New SomeClass("String required by constructor") ...Show All

  • SQL Server Report Builder and optional parameters

    Hi, Is it possible to create optional parameters in Report Builder An *ordinary* parameter is created by marking a filter expression as "prompted". At run-time, the user will be asked to provide a value for this parameter (or accept a default value if it is available). This works fine. What I want is to let the user choose whether to provide a value, or leave the parameter empty. In latter case, the reports should not take the parameter into account and display all available data. Example: I have a list of products grouped by the name of the supplier. I want users to be able to see the entire list, or narrow it down to one supplier only. So I create a free text parameter that will contain a part of the supplier's name. I ...Show All

©2008 Software Development Network