EShepley's Q&A profile
Smart Device Development Application start fails on NETCF 1.0 SP3
Hi, I have a big application for NETCF 1.0 SP3. Sometimes the app. fails when starting - without errors or Exceptions - simply the form disappears and this can occurs on different step of start (initialization) logic !!! Any ideas for the possible reason Regards Tihomir Ignatov In CF1 there are no global exception handlers. In CF2 you can catch a managed exception (AppDomain.UnhandledExcepton), but not a native one. And a native exception is what I suspect is happening. Does your application use PInvoke ...Show All
.NET Development howto AppendPrivatePath in 2.0
yet another migration question from me (I'm on a theme here). in 1.1 (in 2.0 too but with a compiler warning) I can append the private path of the default app domain using the AppendPrivatePath method. the 2.0 compiler compliains that I should use the private bin path of the appdomain setup info, but the problem with this is, that thats not accessible for the default app domain. I suppose the answer would be to specify that in the app config and I suppose thats what I'll end up doing (even though thats a lot of stuff I then have to change), but wanted to look stupid by asking if there was an alternative similar to AppendPrivatePath. The AppDomain.SetupInformation does not give you a valid ...Show All
SQL Server Table permissions versus View Permissions
Using SQL Server 2k5 sp1, Is there a way to deny users access to a specific column in a table and deny that same column to all stored procedures and views that use that column I have a password field in a database in which I do not want anyone to have select permissions on (except one user). I denied access in the table itself, however the views still allow for the user to select that password. I know I can go through and set this on a view by view basis, but I am looking for something a little more global. Just to explain the basics, normally a user will only have access to those objects which he was granted to either as a individual or within a group (e.g. "public" or any other SQL Group or Win ...Show All
Windows Forms Get updated data from axSpreadsheet
Hello, I am using a axSpreadsheet component in my Winforms application. How do I fetch data from cells which the user has entered at runtime For ex - I had programatically inserted data in cell A1 as - axSpreadsheet1.ActiveCell.get_Range("A1", "A1").Value2 = "Some Content"; On a button click I have the following code which gets me the data of cell A1 - axSpreadsheet1.ActiveCell.get_Range("A1", "A1").Text.ToString() However, if the user had entered some content in B1 at runtime, then axSpreadsheet1.ActiveCell.get_Range("B1", "B1").Text.ToString() returns me an empty string. How can I get the new/updated/modified data Thanks. ...Show All
Visual Basic Shareware Starter Kit -CryptographicException: Object already exists -
This exception is thrown when I run the Shareware starter kit using my own application. When I run the sample app it does what it is supposed to do i.e. return from the web service with a license. I am clueless about cryptography so can anyone lead in the right direction. Thanks in advance This is the logging file output for the session: 8/14/2006 8:19:13 PM : DataStore : Constructor : Beginning 8/14/2006 8:19:14 PM : DataStore : Constructor : ReadDataFromIsolatedStorage : Beginning 8/14/2006 8:19:18 PM : DataStore : ContactServerToRefreshStorage : Beginning 8/14/2006 8:19:18 PM : ServerProcessing : Constructor (DataStoreInfo) : Beginning 8/14/2006 8:19:18 PM : ServerProcessing : Constructor (DataStoreInfo) : Comp ...Show All
SQL Server call store procedure from another store procedure
I know I can call store procedure from store procedure but i want to take the value that the store procedure returned and to use it: I want to create a table and to insert the result of the store procedure to it. This is the code: Pay attention to the underlined sentence! ALTER PROCEDURE [dbo] . [test] AS BEGIN SET NOCOUNT ON ; DROP TABLE tbl1 CREATE TABLE tbl1 ( first_name int , last_name nvarchar ( 10 ) ) INSERT INTO tbl1 ( first_name , last_name ) VALUES ( exec total_cash '8/12/2006 12:00:00 AM' '8/12/2006 12:00:00 AM' 'gilad' , 'cohen' ) END PLEASE HELP!!!! and God will repay you in kind! Thanks! INSERT INTO tbl1 (first_name,last_nam ...Show All
Visual Studio Express Editions geting numeric data in and out of text boxes
Hello, Summary: How do I set up text boxes so that when I enter numeric text in one box (named X_Test_Input) , it will raise events that the other box (named X_Accel_Raw_Value) will collect/consume and display the data in that second box. Overview: This is my first attempt Windows programming. My goal is to collect six numbers from an embedded device over Ethernet (five to ten times a second) and display them on my computer so as to have them available for further processing. In dividing this into small steps, I first want to be able to get values from somewhere and display that data. Only after I get the basic windows display part of this working will I attempt to get the data from the embedded device. In my ...Show All
Visual Basic FlowLayoutPanel
Hello All, I am trying to use the FlowLayoutPanel control, but I'm having a real challenge. I am dynamically (at runtime), trying to add text boxes and NumericUpDown controls to a FlowLayoutPanel. Formatting is my problem. In one cell, I want to add a textbox followed by a space or 2 and then the NumericUpDown control. I can’t seem to come up with the right combination to format this. Any ideas Thanks very much. I'm not sure what you mean by "cell"... The FlowLayoutPanel is a single container... You don't really get to control the spacing of the items - that's the point of FlowLayout - the contols lay themselves out. Some controls, like ...Show All
SQL Server Procedure or function sp_MSupdatesysmergearticles has too many arguments specified.
Hi, I've been on this one all day - and now tearing my hair out. I have a large SQL2005 database (migrated from SQL2000) which I'm trying to replicate using a VB6 front end. The application and database concerned have been working with no problems using merge replication for the last 5 years - however, I now need to port to SQL 2005. In the VB6 app, I'm using the SQLMerge9 control to handle the replication side of things. The code I'm using is exactly as per the code which works under SQL 2000, however, I'm getting an error message "Procedure or function sp_MSupdatesysmergearticles has too many arguments specified." when I try to initialize the subscription. I've seen one other item on the web with this problem, and this was so ...Show All
Audio and Video Development uncompressed YUV to EVR
Hi, I am writing a simple YUV media source to take in .yuv bytestreams and send it to the EVR. I have modified the MFT_Grayscale to act as a dummy transform to copy the yuv samples to the EVR. I am also using the playbackFX sample for the player. I'm having a problem with the player just showing a black screen, as if no samples are being sent to the EVR. I have verified that the samples are being processed in the dummy transform with the correct image size and attributes for my given yuv sample. I have tried other yuv samples and all just display a black screen, but the samples are being processed for sure. Is there any way to debug this to see if the samples are being sent to the EVR Or does anyone have any clues why this is happeni ...Show All
SQL Server Permit user to select columns for a report: why not use Dynamic SQL?
I certainly have read lots of negative comments about using Dynamic SQL. And I have read some of the excellent web pages on the subject, such as http://www.sommarskog.se/dynamic_sql.html I have learned much from those discussions. But I still find myself faced with a problem for which Dynamic SQL seems like the only reasonable solution: letting a user select the columns to include in a report, and the sort order for the output data. In the application of concern, there are maybe seven columns that one might want to have in a report. If the user can choose any combination of these seven columns, and the order in which they are displayed (as well as the SORT order), it would be necessary to write something like 7! (7-factorial = ...Show All
Smart Device Development Starting an Email in C# code like typing 'mailto:xx@yyy.com' in Internet Explorer mobile
Hello! I'm writing a Windows Mobile 5 application in C#. Now I try to create a button on which a user can click and the email program starts. If I type 'mailto:xxx@yyyy.com' in Internet Explorer Mobile address the mail program is started. But I didn't find out how to do this from the code of my application. Can anyone help me I found it: Process .Start(" mailto:xxx@yyy.com ", "" ); ...Show All
SQL Server copy subscription
I have to insert a lot of subscription, that look very similiar. How can I copy one subscription to another Or is it possible to use a subscription as a template Thanks ...Show All
Windows Forms )i want to display the value in the datagrid which i just enter in the textbox and press enter
1)i want to display the value in the datagrid which i just enter in the textbox and press enter..... thanks ...Show All
SQL Server Model for Report Builder
I made a model for report builder and I am limited to selecting from 2 tables I have one main table table1 with a PK to FK with table2 - table12. I am limited to only going 2 levels deep is this right How can I correct this or work around it. I tried building a view, but have never had to do so with so many joins it this possible or do I have to break things up I have one main table with PK and several tables with a FK to the main table. After building my model I am limited to select only from the main table and one other table, the ths most I can grab from is 2 tables. ...Show All
