|
This error is displayed when trying to create a setup file including an executable and a .dll.
The keycode does not appear within the source code of the original program, nor is a property of the .dll being used.
Any ideas?
|
|
|
|
|
I've a datagrid.datasouce = ds1
i can delete and add and modify the datatable through the datagrid.
after that click on the save changes, until every thing working fine.
but when i do some changes on the datagrid like delete a record and click on save button a system.Data.DBConcurrencyException throw.
----------------------------------------------------------------
Exception
----------------------------------------------------------------
system.Data.DBConcurrencyException: Concurrency violation: the
DeleteCommand affected 0 records. at
system.data.common.dbdataadabter.update(datarow[],
datatableMapping tableMapping) .....etc
----------------------------------------------------------------
that's mean the user can modify one time...
so what is this execption.
and how can i solve it
thanx
Militiaware
Faris Madi
|
|
|
|
|
|
Hi All,
I am realy new to the socket issue..i need to trasfer file(s) (regardless the size) from one machine to another using Socket using vb.net!!
I searched the net and i found some that deals with small files and not asynchronously and in c# language.
I realy need your help...any comment will be very helpfull..
Thanks in advanced...
shelal
shelal
|
|
|
|
|
shelal wrote: I searched the net and i found some that deals with small files and not asynchronously and in c# language.
shelal wrote: I am realy new to the socket issue..i need to trasfer file(s) (regardless the size) from one machine to another using Socket using vb.net!!
http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx[^]
|
|
|
|
|
thanks Roath for your reply..it was a very usefull link...
|
|
|
|
|
You are welcome. My name is Kanel, please call me Kanel
|
|
|
|
|
Hello,
I have MS Access 2000 database file. One of the columns of a database table contains binary data. I know that this may be html or xml data, saved in this field. But I don't know the method it was saved to db.
Could anyone help me? I want to get these data back and have a look on it. How can I make it in VB.Net application (using oledbdataadpter)?
Thank you,
Loiste
|
|
|
|
|
This article[^] is present about saving image file to sql server. But you might found some method that might be similar to your need in ms access 2000.
|
|
|
|
|
Hii,
I need to set minimumpasswordlength for my system Using Visual Basic .
For this Iam Using IADsDomain interface.
My code is as follows....
Private Declare Function GetComputerName Lib "Kernel32.dll" Alias "GetComputerNameA" (ByVal strString As String, strSize As Long) As Long
Private Sub Command1_Click()
On Error GoTo ErrorHandler
Dim dom As IADsDomain
Dim cls As IADsClass
Dim v
Dim x As Variant
Dim str As String
Set dom = GetObject("WinNT://" & ComputerName & " ")
Set cls = GetObject(dom.Schema)
For Each x In cls.OptionalProperties
v = dom.Get(x)
Iam getting an exception in the above line
If x = "MinPasswordLength" Then
dom.MinPasswordLength = 10
End If
Next
ErrorHandler:
MsgBox Err.Description
End Sub
Function ComputerName() As String
Dim buffer As String * 512, length As Long
length = Len(buffer)
'GetComputerName returns zero on failure
If GetComputerName(buffer, length) Then
ComputerName = Left$(buffer, length)
End If
End Function
'My computer is connected in domain. if I specify the domain name instead of ComputerName in
Set dom = GetObject("WinNT://" & mydomain & " ")
,i could execute the code successfuly.But i need to execute the code on a system which is connected to work group (can be local system also)
Can anyone please provide me the relevant information??
Thanx
-- modified at 3:17 Monday 22nd May, 2006
|
|
|
|
|
I need to login to a remote system in a domain.
I have WMI as solution but problem with WMI is that unless a local profile does not exist it won't login.
Is there a way i can connect to a remote system without haaving profile on it.
|
|
|
|
|
nitin_ion wrote: I have WMI as solution but problem with WMI is that unless a local profile does not exist it won't login.
Is there a way i can connect to a remote system without haaving profile on it.
What do you mean by profile. In my opinion, you should have a correct user name and password. The profile of the user will create automatically when the user log on first time to the network. Is this answer offer to what you need?
|
|
|
|
|
No the problem is that i want to Login to a remote system using System.Management.ManagementScope.
I am able to login only if that user has local rights on that system. if i dont have it then it will say Access Denied.
Is there a way to login to a remote system with Valid User ID and Password without worrying about the fact that i will get Access Denied error.
-- modified at 5:59 Monday 22nd May, 2006
|
|
|
|
|
nitin_ion wrote: am able to login only if that user has local rights on that system. if i dont have it then it will say Access Denied
In my opinion, this problem cause by an operating system that it has it own local policies to manage login behavior. You should try to contact a network administrator to check whether the account that you log on is a right to log on locally or not.
nitin_ion wrote: Is there a way to login to a remote system with Valid User ID and Password without worrying about the fact that i will get Access Denied error.
In this case you must have your own user account with password protect. You can ask your network administrator to create an account for you.
|
|
|
|
|
I want a combo box which can be used to display a list of client names, but once selected, I want that particular client AccountNumber to be recorded in my MS Access MDB file in an InvoiceAccountNumber field.
How do I do it so that the combo always displays the full CompanyName, but always saves the InvoiceAccountNumber?
The reason for this is that the combo box gets its items from the same table that I'm writing back to so that if a client chooses to have their invoices sent to an alternative location, provided that the alternative location is recorded in my table, and that the entry has an AccountNumber, it is this AccountNumber which I want to record against my client InvoiceAccountNumber.
|
|
|
|
|
|
Hey guys i need to print the contents of a datagrid of the dataset the grid is reading from, i've been trying for a while any body have any ideas (codewise) to access a datagrid's info.
|
|
|
|
|
|
Can anyone help me of how to send video files using infrared to a PDA
this could be either using c# or vb
AND using visual studio 2003.....
Deepak Anish
Computer Programmer
Maxumise Fiji Ltd
Suva, Fiji
|
|
|
|
|
|
I want to use custom buttons etc for my vb .net applications
Can somebody help me out
|
|
|
|
|
|
hey guys how can open a web page form vb.net.
I have a web site for a corresponding program and i want the user to be able to view it when they click a button in the program, so it should open the page in IE or Firefox or whatever
thanx
|
|
|
|
|
Imports System.Diagnostics.Process
Start("http://www.google.com")
DADAX
-- modified at 15:21 Sunday 21st May, 2006
|
|
|
|
|
jaded_angel wrote: hey guys how can open a web page form vb.net
System.Diagnostics.Process.Start("http://codeproject.com")
|
|
|
|