CookieRevised's Q&A profile
Windows Forms ClickOnce file names for security list
I’m not able to run ClickOnce applications within my corporate environment because there is an executable policy list that prevents executables (and scripts) from running unless the names are in the approved policy list. I don’t know what names should be in this list for a ClickOnce application My application runs fine via ClickOnce on a client workstation with this policy turned off. Also, my application runs fine with the ...Show All
Windows Forms How to Force a Cell into Edit Mode in a DataGridView
Any ideas on how to programmatically force a cell into Edit Mode in a DataGridView Background: I have an ImageColumn which allows user to popup a list of 'favourite items' and select one. On selection i am populating another cell with the chosen value, and would like to automatically put that cell in edit mode. (I am not using a ComboBoxColumn because they can edit the value in the column to any value they like). Also, I know the row and c ...Show All
SQL Server is it a bug ? (relationships in report builder)
Hi friends am having some weird problem.am using sql server 2005 standard edition. i've a report model with tables (tab1,tab2,tab3). tab1 and tab2 (actually these are views) relate to same table but each has different columns from same table. the third table i.e. tab3 is child of tab1. in my report model project,i set cardinality of this role in tab3 as "one" and in tab1 as "Optionalmany". when creating a report in reportbuilder.if select colum ...Show All
Visual Studio Express Editions executing functions from a string at run time
So I made a module with a list of functions that make my life easier. I am expirimenting with this sort of thing, and I am trying to make a little command line sort of thing to be used at run time. My question is: Is there a way to execute internal functions like the ones I made by typing them into a text box at run time (and clicking a button or whatever) I'm looking for something like: Execute(command.text) Thanks! There's the ...Show All
SQL Server alter column b/w desired column
if i have structure of table like a,b,c,d,e column then i want to alter one more column x b/w b and c column, so that a,b,x,c,d,e Do you need to add the column to the table or do you want to do something with the records ALTER TABLE testTabelle ADD x NVARCHAR(20) I don't know if the position of the column could be defined but is it really needed You can always define the position on quering: SELECT a, b, x, c, d, e FROM testTa ...Show All
.NET Development Regarding Assembly Versioning
I have two different versions of same assembly both are in GCA, how to call a method from the specific version of assembly from the program. Can some one give valiable time for this question. Thanks in advance. ...Show All
Windows Forms Clippping Regions in PaintEventArgs is width=0, height=0?...
Hello, I have a number of panels contained in another panel contained in a user control. I have each subpanel hooked up to a paint handler for the Paint event. I seem to have broken something. When I enter the PaintHandler, the clipping rectangle&nb ...Show All
.NET Development File Property - Keywords
I am writing a program that loops through all files in a set of directories and displays them to the user. I have added a ,somewhat, search feature. I have given the user the ability to enter a search word. This text is compared with all the file names and if the text is within the name, it is added to the results. We were looking to add some kind of categorization or keywords to the file search functionality. I thought about putting tags ...Show All
.NET Development Communicating with USB port using a .dll file
I am using a .dll file to communicate with the USB port and can anyone tell me how to use the below two lines of code in the program. Bind Dll to the program ---------------------------------------- hInstDLL = LoadLibrary(“ABCLib.dll); To Initialize ----------------------------------- status = ABC_Init(hInstDLL, DLL_MESSAGE_OFFSET); Willfin You need to ...Show All
.NET Development Newbie to Web Services
Hello! I've been trying to get a hold of the concept of web services, and all of the example are with stock quotes, weather, "Hello 'name'" etc. I think I've got the concept (cross platform data transfer), but what I'd like to know is this: 1. Currently, we're using APIs in our ASP.NET 1.1 application to communicate with another server on our network to push and pull data. Would Web Services be a cleaner way to go It seems if we ...Show All
.NET Development Accessing USB Flash Drive
I was wondering if the following is possible within the .NET framework. I want to detect if a USB Flash disk has been inserted, I then want to write to it, then I want to programmatically "Remove Hardware" to allow safe removal. Does anyone have experiance of this Thanks Dear LiamD I was wondering whether you managed to make any headway with this I also need to find a way to write to a USB pen drive: no ...Show All
Visual Studio Express Editions SQL Server Express Installation Problem (More details of the error log)
Hi, I am trying to install SQL Sever Express and it gets hanged at the stage "detecting installed IIS...." I have correctly installed Visual Basic 2005 Express edition. I have Windows XP Sp2 OS and correct version of .Net framework. I tried the installation many times since yesterday with IIS installed and not installed. But everytimes it gets hanged at the above stage. Please help me out from this. Thanks Prasad Can you give more inf ...Show All
Visual Basic Progress bar for a mdi appication
Hi, I am doing this mdi application where forms read from massave databases on load. I would like to make a popup progress bar in a separate form that will not get stuck while other proceses are running. I think this is achievable by running the form on a separate thread or something of that kind... if yes.. then how can I do that Thaks in advance You can find it under the "Components" toolbox tab while in the Form designer if you're using ...Show All
Visual Studio Tools for Office Determining where I am in ThisDocument_SelectionChange
Hi, I'm trying to determine where I am in the document within the ThisDocument_SelectionChange event. I have a document with XML tags in it, and would like to select which ActionPane Control I show based on which XML tag I am in. I thought that e.Selection.Range.XMLNodes(0) or something might do the trick, but it appears that the e.Selection.Range.XMLNodes collection is empty. Anyone know what I am doing wrong, or if there is another way to ach ...Show All
Visual Studio 2008 (Pre-release) Sparkle panels UI
Anyone know if the main user interface controls in Sparkle will be available as a sample or as controls The UI would be great for a test app I'm working on and I don't want to reinvent the wheel if major parts of it will be available. Hi John, We don't have plans for that in version 1 of our product, but we will try and publish as many of the “cool things” in Sparkle as components. For example, our welcom ...Show All
