Help, trying to run an app in debug and getting this error:-
Request for the permission of type 'System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Made sure the enable clickonce checkbox is ticked in the security...
I don't know if this is the correct forum to post into but here goes:-
We have a.net app that has an vb6 ax control on some of the forms. The customer has decided due to a change in their security policy that all the pc's will now have the local admin user removed.
I've tested the app on a...
Hi,
Scenario:-
I have a web page with a listing of items. besides each item is a checkbox. At the top of the page is a delete button. User selects his items to delete and presses delete button.
Problem:-
My codebehind should cycle through each control on page, if its a checkbox and its...
Hi,
I have a small project whereby i need to backup my contacts from Instant Messenger. I have no idea how in VB.Net i can interface into IM or any of the messaging apps (Yahoo etc), or find the contacts etc.
Pointers please.
Regards.
Hi,
I have a solution containing 2 projects. 1 is a dll project. When stepping through project A (exe) into project B (dll) public property's no problem. However trying to put a break point in project B's functions It says that the breakpoint will not be hit because of no symbols etc. I have...
Hi, Just started to makes some changes to a project in VB.Net 2003.
Help required - I cannot get the thing to hit my breakpoint, just seems to ignore it. And any changes i've made including screen changes don't seem to have worked. I've removed buttons/panels etc, yet when i run they are still...
Hi,
I've just started on a new peice of work in VB.Net 2003. I've been given all the source code (have updates to do) but cannot run the app because of missing references. I have the Dll's in question, but cannot reference them using the add reference menu. I browse to the dll's select them and...
Hi,
I'm trying to set a reference to a loaded form using the hwind property.
example:-
dim objForm as form
set objForm = <----another form of which i have the hwind, but do not know the code. Anyone
Regards
xml is this:-
<FORM name="PolicySelect" enabled="true">
<COMMAND name="cmdUpload" enabled="true"/>
</FORM>
VB is this:-
'objControl is passed in and currently is a command button with the name of cmdUpload.
strControlName = objControl.Name
'get xml node for control
Set objNode =...
I'm trying to retrieve the properties collection of a control collection, and my code is giving me the "object doesnt support this property or method" error. Anyone know why ?
Dim objForm as Form
Dim objControl As Control
Dim objProperties As Property
For Each objControl...
Has anyone come across the following bug before:-
we have 2 servers, one running Windows 2003 release 1, and the other running Windows 2003 release 2. Using VB6 and ADO to connect to SQL Server 2000.
This VB code only works on Release 1:-
frm.AdodcTemp.Refresh
frm.AdodcTemp.RecordSet.Update...
why does VB add # on to the end of this line? :-
dim lngVar as long
lngVar = 999999999999999#
Please do not tell me the number is to big for a long, because I already know this. I'm merely just curious what the # does in this situation
i have a virtual ADO recordset. After populating it I then wan't to throw a table name in a db at it, and have it write to the table without cycling through the records or using SQL to update or insert. I know this is possible, but don't know how. Here's the code so far. what do i need to add...
I'm using a dictionary object to hold data that needs to be inserted into a sql server 2000 db. problem is i'm getting the error "The microsoft jet database engine could not find the object". The name of the table is spelt correctly. I've got a feeling that the problem lies somewhere in the...
Server: Msg 291, Level 16, State 1, Line 1
CAST or CONVERT: invalid attributes specified for type 'smallmoney'
SQL:-
INSERT INTO [New_Data] VALUES('Some Data','1','12345','DMS','data','','10/07/2006',CAST('100' as smallmoney(4)),CAST('0' as smallmoney(4)),CAST('0' as...
Hi,
The following code returns a recordcount of -1 for a spreadsheet that contains 198 rows. the version of XL is 2000. What is wrong? :-
the dlgUpload is a commondialog control.
Public Excel_Connection As ADODB.Connection
Public Excel_RecordSet As ADODB.RecordSet
Public Excel_SQL As String...
this code only works when stepping through. Otherwise it allows me to type anything in the text box. why and how do i fix? :-
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode < 46 Or KeyCode > 58 Then
KeyCode = 0
End If
End Sub
My regular expression is hanging for 5 extra seconds per character for each character that is added to the string, when the string exceeds 30 characters in length.
The regular expression checks for correct email addresses.
the following example has 33 chars and hangs for about 20 seconds. Try...
Help. 2 projects set up in VSS. Project A and Project B. I dragged all the source from proj A into proj B. I then took a couple of files from Proj B and branched them. After finishing working on these 2 branched files decided to merge them back in. Done that. Now why doesn't the merged files...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.