Asp.net - Signing Active X Control And Marking As Safe?

Dec 9, 2010

I have developed an active x control and signed it with certificate. I know that digital signing is needed , so that the browser knows that the active x comes valid source.My asp.net form has a button , which invokes a method on activex control as -[code]....

But it errors on browser stating that the - IE has blocked this site from using an active x control in an unsafe manner. ( Please see attachment).So should I have to develop the active x control which implement IObjectSafety and also signed digitally, so that it can execute on client browser without any warnings from IE. Any examples.

View 1 Replies


ADVERTISEMENT

C# - Get A Free Code Signing Certificate For Signing Applications?

Sep 27, 2009

Where can I get a free code signing certificate for signing my applications? Ascertia used to give them out for free but apparently they don't anymore.

View 3 Replies

VS 2005 Get The Active Control Of The Active Form?

Mar 30, 2009

I want to get the active control (control which has the focus or where the cursor is on) each time the cursor moves to another control or each time a control receives a focus.

View 5 Replies

VS 2005 How Safe Is The System.Windows.Forms.Webbrowser Control

May 9, 2012

If you are interested, I am doing this because I do not like having to drag and drop my browser etc. I just right click the URL in Chrome and select (Play on My TV) a customized dropdown item, at which point my Player finds the TV, opens the URL, maximizes itself and plays the content

View 4 Replies

.net - Marking Databases For A Particular Setup Only?

Dec 25, 2011

My application security from piracy depends upon fields in my databases. User has to activate the application, that writes Bought in my database. But the problem is if a new user installs my application and replaces all databases from some one who has bought key, the application also becomes active without buying key from me.

Is there any possibility that I could mark the databases to be recognized with the particular setup?

View 1 Replies

Marking Parameters As Nullable?

Dec 22, 2009

I've picked up some code from a colleague, and in one of his methods he has a boolean parameter: ByVal showProactiveChases As Boolean?. I had to look up the ? operator yesterday to see that it denotes a Nullable type. My question is, if I change it to: ByVal showProactiveChases As Nullable(Of Boolean), does the meaning remain the same? I think provided it doesn't change the meaning the second way is much more readable.

View 4 Replies

Instead Of Marking A Class With The <Serializable()> Attribute?

Jul 10, 2011

ToSerializable is it possible instead of marking a Class with the <Serializable()> attribute?

as in the following Class.So you could maybe do:>>myObject.ToSerializable

<Serializable()> _Public Class ExampleClass
End Class

View 11 Replies

Lock Datagrid For Editing And Marking?

Aug 10, 2009

I have a datagrid in my VB form. I want to lock in a way that you can not mark any cells in the tables etc.

When I set it to read only I stop the edit function but you can still mark the cells with a cursor. Is it a way to avoid that from happening?

View 1 Replies

Marking Duplicates In A List While Not Sorting

Feb 15, 2012

I had a need to mark a listview row if filenames were duplicates for n number of characters from the left. I wrote the following but it smacks of VB6.[code]...

View 5 Replies

Office Automation :: Outlook The Marking Emails?

Jul 19, 2009

I have a macro written in VB in Excel, which reads emails from Outlook. I would like to automatize this process, but everytime, when Excel wants to access the outlook, I have to give permition to do that, see http://apophis.wz.cz/permition.PNG (It's in czech, but you will see the point). Is there any way to give this permition for ever? Or for long time, such as 10 hours? (I can choose max. 10 minutes).

View 1 Replies

Get Name Of Active Control?

Jul 3, 2011

I would like to get the control name, regardless of if its on the projects form or not. put it in a thumbnail following the mouse...

So if i open up notepad it would give me the active control name...

View 5 Replies

Get The Last Active Control?

Dec 24, 2009

I have 9 textboxes in 1 form and couple of buttons to add unicode symbols inside the last active textbox when the button is pressed. So how do I find out which textbox was last active when the button was pressed.

View 10 Replies

Get The Name Of The Active Control?

Dec 19, 2009

how to get the name of the active control in Visual basic

system.reflection..... that doesnt work

like i use addhandler so if I do that it gets me the name of the adress of the original control

Also, I'm trying to get a toolstripdropdown menu as a bookmarks thing; how can I get the name of the selected dropdown item?

View 3 Replies

Marking Items In ComboBox1 Need To Pass Values To 3 Different ComboBoxes

Apr 18, 2010

new to VB and having some problems with my code.the story is that while marking items in comboBox1 need to pass values to 3 different comboBoxes so far I have made code that pass data only to one comboBox. [code]

View 1 Replies

Active X Image Control?

Mar 14, 2010

The following code lets me insert an image into an Active X Image box using 'GetOpenFilename', however, if I push the Cancel button I get an error saying that the file cannot be found. Can anyone provide me with some advice on how to handle this error, the code is below?

Private Sub Image1_Click()
Dim ImageOneLocation As String
ImageOneLocation = Application.GetOpenFilename

[code]....

View 3 Replies

Get Active Control Of Form?

Mar 30, 2009

I want to get the active control (control which has the focus or where the cursor is on) each time the cursor moves to another control or each time a control receives a focus.

View 1 Replies

Listbox Active Control?

Jul 26, 2011

In small project I am making , when I load the main for the list box is generated by data from xml ,well that done well , but I cant get the control active and I can getit to select item

Me activecontrol = listbox 1
ListBox1.SelectedItem = 0

View 1 Replies

Access Control On Active MDI Child?

Apr 7, 2010

I have got a project that i am currently creating that is a basic word processing application. There is the capability to have unlimited MDI child forms open however when you click on change font colour of something similar i only want it to do it in the currently active MDIChild. I have found the Me.activemdichild however i cant then access controls on that form.

View 4 Replies

How To Check Which Page Is Active In Tab Control

Jan 18, 2012

I created a TabControl with 3 Pages. Like TabPage1, TabPage2 and TabPage3. How to check which page is active in tabcontrol? Using visual basic 2010.

View 4 Replies

How To Find Name Of Active Control On Form

Mar 12, 2009

I'm an old Access developer and know VBA quite well, but now I'm working at learning VB.net. I'm trying to find the equivilent of the following Access VBA code using VB.net:

Function EvalField()
Dim x As Integer, ctl As Control
Set ctl = Screen.ActiveControl
x = Val(Mid(ctl.Name, 5))
Screen.ActiveForm.Controls("Formula" & x) = ctl
ctl = Eval(ctl)
UpdateTotal
End Function

This code sets a control variable to the currently active control, then copies the text from that control into it's matching "Formula" field for reference by the user), then turns the string of math into the answer. For example, if the user enters 5 + 4, that will be copied to the Formula textbox, then it will be evaluated and the answer will replace the 5 + 4. And lastly, the UpdateTotal sub will execute which will add this answer to the existing Total field.

View 1 Replies

Always Display A Control On The Curently Active Tab Of A TabControl?

Aug 11, 2010

I have a tab control with two tabs. Both tabs have controls which are unique to them, but there is one control which I would like to always appear on whichever tab is currently active. I figure I just need to add some code to TabControl1_SelectedIndexChanged(). I tried

MyControl.Parent = TabControl1.TabPages(
TabControl1.TabPages.IndexOf(TabControl1.SelectedTab))
MyControl.Parent.Update() ' is this necessary?

[code]....

View 2 Replies

Pass Integer Array To C++ Active Control?

Mar 12, 2009

I'm using VB.NET within Visual Studio 2008.I have a ActiveX control on my form that contains a method that takes an Array. In VB6 I just passed in the array and it was populated OK. When I do the same in VB.NET, I get a result but the value of each index appears to be a pointer.Here is the C++ method code...

void CMyCtrl::GetRowInfo(const VARIANT FAR& vArray, short sNumRows)
{
// Declaretemp array to put the row list into
short asRowList[24];

[code]....

Here is the VB code (same VB6 and VB.NET...

Dim maintRowList(0 To 23) As Integer
AxMyCtrl.GetRowInfo(maintRowList, 24)

In VB6, the value of maintRowList(0) is in the range 0 to Windows screen height(its a pixel value)In VB.NET the value of maintRowList(0) is a value that looks like a pointer to me (e.g 285671429).In VB.NET, the type of the 1st parameter is Object. In VB6 it is a Variant. I've tried AxMyCtrl.GetRowInfo(maintRowList(0), 24) and got the same result. I think I need to get a pointer to either the array or the first element of the array but I can't see a way to do that. how I can pass an array to this type of C++ ActiveX method?BTW - I cannot change the ActiveX code so the solution must be within VB.NET.

View 1 Replies

Change Active Control When User Presses ENTER?

Mar 2, 2011

i am making my final year project in vb.net for data entry i want to make the project more user friendly i use code to change the control focus by pressing 'Enter'(ASCII 13).. and clear the content of current control by pressing 'Esc'(ASCII 27)... in my project one form contains at-least 300 of controls say(t1,t2,t3,t4...)

so in the keypress event of t1 i have writen

if asc(e.keychar)=13 then
t2.focus
elseif asc(e.keychar)=27 then
t1.text=nothing
end if

the code works fine but produce an alert beep when i press ENTER to change the active control...

View 2 Replies

VS 2010 Get Control Collection From Mdi Active Child Form?

Feb 23, 2010

After getting the current mdi active child form, how can I get it's control collection so I can access their data?

View 8 Replies

Forms :: Skip Validation Of Active Control When Form's Close Button Is Clicked

Aug 12, 2009

Is there any way to skip a the validating event of the active control when the close button of the form is clicked. It is very annoying when user wants to close the form, but due to the validate event of the active control, it asks for the valid input. The user is forced to give valid input to close the form. I have searched a lot for this on net but no any proper solution could be found.

View 5 Replies

Make More Than One Element Active In A Webbroswer Control Specifically With Html Table Cells?

Nov 27, 2009

how to specifically identify all the specific table cells that are selected in a webbrowser control. To be specific once I load a page into the webbrowser control and it is displayed I simply want to be able to click and drag with the mouse over multiple cells. Once I have selected the multiple cells I want to be able to do something to them such as adding an attribute. I can do this with a single cell. With the follwoing code:

Private
Sub
WebBrowser1_DocumentCompleted(ByVal

[Code]......

View 1 Replies

C# - Difference Between SN Or AL For Assembly Signing

Jan 2, 2011

I see tool like SN which generates private/public key pair for signing an assembly. And using AL tool we can assign a strong name to an assembly. And we have also Sign tool which is used for signing the assembly (probably for using with certificates exclusively?). What is the exact difference between the two?. Is it sign tool have to be used when working with certificates and can it we acheive it SN?. or are they totally different.?

View 1 Replies

Click Once Signing Practices?

Apr 26, 2010

I have an app published using ClickOnce. When an app is published that way, you get a temporary certificate which expires in a year. My year will be up in a couple months, and I am considering my options.One option, which a colleague is using, is to build a more sustained certificate using makecert.exe. By doing this, I can get a certificate of arbitrary length (or so I am told, as I haven't actually followed this route, yet). The problem with this route is that MS is pretty clear that makecert is for testing purposes.

I can also see that I could go to verisign or some such and buy a certificate, but that has a significant cost (well, I'm sure my employer wouldn't be too concerned about it, but it seems pretty high to me). The program has very narrow applicabiliity and narrow appeal (it has to do with counting fish). What I am wondering is whether there is sound reason to go with a certificate that is more than what makecert will create, and what that reason is? Additionally, I'm looking for information as to whether an internal CA, such as we have, which can make a certificate, will cause me any trouble if I use it to sign a ClickOnce app that won't be used entirely internal?

View 7 Replies

COM Access To Dll Without Strong Name Signing?

Jan 27, 2012

I'm converting a VB6 dll to VB.Net using Visual Studio 2008 Express. I want to use the same .dll to integrate with Excel via Excel-DNA, but also to be available via COM (I need to be able to call it from VBScript and VBA).

If I leave the assembly unsigned, I have access to all of the ExcelDNA functionality but no COM access.

If I sign the assembly with a strong name, then when I try to build the .dll I get the following error:

Unable to emit assembly: Referenced assembly 'ExcelDna.Integration' does not have a strong name.What are my options?

View 2 Replies

VS 2008 Signing A Project?

Mar 21, 2009

I've got a project which I would like to sign, however I've never done it before and I'm having a bit of trouble. The problem is that one of the dll files the project references is not signed. This results in an error, stating that the project assembly cannot be signed due to an unsigned referenced assembly. I'm not the author of the problematic unsigned assembly, so I can't sign it directly from VS (or at least I don't know how).

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved