|
blondie10 wrote: Now perhaps the only answer to the problem at this level of security would be to objfuscate the code
It is Obfuscate, but who cares you're the friendliest person after all.
|
|
|
|
|
blondie10 wrote: but who cares you're the mvp after all, though from a quick check on Microsoft's MVP web site your not listed,
That's because I never wrote the thing and enabled it for public view.
blondie10 wrote: Also Public / Private cryptography is asymmetric not symmetric,
Sorry, I was thinking 'asymmetric' and typed 'symmetric'.
blondie10 wrote: I don't understand about sending data in reverse, does the remote system use the public key to encrypt the message and my system then uses the private key to decrypt it? If this is so does'nt this mean any user can send me a message as the public key is, well, public?
Yes, to both questions. The only difference between Public and Private keys is the arbitrary choice of which one you give out to the public.
blondie10 wrote: Now perhaps the only answer to the problem at this level of security would be to objfuscate the code.
Obfuscationis about the best choice you have that doesn't cost $,$$$.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
suppose i have one MDi form and two child form and there is two method called test1() and test2()
in form1 and form2 and there is two buttons in a toolbar attached with mdi for and when button 1
will be pressed then test1() method of active child will be fired.so how could i call a method of
active child form from mdi form.pls help me with sample code
tbhattacharjee
|
|
|
|
|
Dim frm as object
for each frm in me.mdichild ' or mdiChildren not sure while writing in here
if frm.text="Form1" then
' test1 should be public inside form
frm.test1()
exit for
end if
next
|
|
|
|
|
Hi
You could try this:
In the ToolBar's Button_Click Event write the following,
Dim frm as form
For Each frm in Me.Forms
if frm.Name="Form1" then
call form1.test1
elseif frm.Name="Form2" then
call form2.test2
endif
Next frm
hth
Chandra
|
|
|
|
|
Hi, How can i play DVD in vb.net?
|
|
|
|
|
|
I think there is a COM component called MSDVDAdm Call
That might work.
-- modified at 14:38 Friday 28th July, 2006
|
|
|
|
|
Hello,
Im encountering a deadlock when i debug certain part of a large windows form application when the code interacts with the clipboard.
i've made a small example to reproduce the problem
Public Class Form1
Private Sub btn_SaveToClipboard_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToClipboard.Click
Dim ido As DataObject = New DataObject()
Dim file() As String = {"C:\somefile.doc", "C:\somefile.txt"}
ido.SetData(DataFormats.FileDrop, False, file)
Clipboard.SetDataObject(ido, False)
End Sub
Private Sub btn_RetrieveFromClipboard_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RetrieveFromClipboard.Click
Dim ido As IDataObject = Clipboard.GetDataObject()
If Not ido Is Nothing Then
If Clipboard.ContainsData(DataFormats.FileDrop) Then
Dim o As Object = ido.GetData(DataFormats.FileDrop, True)
End If
End If
End Sub
End Class
if i place a breakpoint anywhere and mouseclick in the code and then start singlestepping i get the same deadlock.
I googled my way to an article that seems to suggest a solution but im not sure what the solution is:
http://blogs.msdn.com/stevejs/archive/2005/12/08/501939.aspx[^]
any help is appreciated.
|
|
|
|
|
Hi Everyone!
i have small problem in my user validation programme.I have created the component,which validate the users againts the database(SQL 2000), so i have created the validation form for that one,ther is no any error when i'm build the component,my problem is when i'm run the programme it display the error of sql data adapter in this line (dataadapter.fill(dataset) can anyone help for this pls.
Error is:An unhandled exception of type "System.Data.Oledb.OledbException" Occurred in system.data.dll.
And also i need to know is there any easy way to validate the users againts the database.if it is pls help me.Thanks
|
|
|
|
|
Hi Indunil,
You may be facing this error because of wrong sql query syntex generated.
Try to print sql query you just generated before fill. Also put your fill code in try catch block.
Hope for the best.
Puran
|
|
|
|
|
Hi All,
I have created a simple Multimedia Player for my project.But met with some problems.Hope someone can help me with this.I have my MediaPlayer1 in Form1 and the selection of songs to List1 in Form2.I have added the songs i've selected to List1 in Form2.But i have no idea how to play the songs in Form1,Multimedia Player(MediaPlayer1).Any help would be greatly appreciated.Thanks alot.
|
|
|
|
|
You are not setting the datasource of the datagrid.
DataGrid1.DataSource = SOMETHING
What is this Adodc1?
|
|
|
|
|
Hi.
I am using crystal reports 9 and vb6 and MS-ACCESS Database File.
I have connected the report to the DataEnvironment command in design mode using the report wizard.
the report is then viewed through the report viewer (automatically added after the wizard completion)
the report work fine initially.
the problem is that when the number of records are increased in the table, the report becomes very slow.(more than 60 seconds and more)
am i doing something wrong?????
what are the steps to created a report properly (also using two or more linked tables)?????
thank you
|
|
|
|
|
I'm trying to make Outlook addin that will add one button to outlook context menu---
(VB.net / C# .net (NO C++ .net))
first,
ActiveExplorerCBars = applicationObject.ActiveExplorer.CommandBars
then
cmdbar = ActiveExplorerCBars.Item("Context Menu") 'cmdbar is commandbar object "^getting error here"
control = cmdbar.Controls.Add(MsoControlType.msoControlButton)
With control
.Caption = "kedar"
.visible = true
..... other props
End With
but i'm gettin an error that the parameter "Context Menu" is incorrect @ cmdbar = Active......
"i have seen code working in vb but not in vb.net so keep that in mind and reply for vb.net"
i've refered -- http://www.outlookcode.com/codedetail.aspx?id=526
http://www.outlookcode.com/codedetail.aspx?id=314 ?
and similar codes but they'r not of any use to me,.....
I think "Context Menu" is not a valid parameter. But accordg to other resources i've cometo know that outlook has that Named menu.
I'd like if anyone can post a code to add the button to context menu.
thnx in advance
"You can do any thing you set to your mind" - theGhost_k8
|
|
|
|
|
Indunil_Bk wrote: when i'm run the programme it display the error of sql data adapter in this line (dataadapter.fill(dataset) can anyone help for this pls
I would like to help but it is too vague, what error are you getting?
I'd like to help but I am too lazy to google
|
|
|
|
|
Given that the OP deleted their post, I guess they don't really want to know any more.
|
|
|
|
|
Colin Angus Mackay wrote: Given that the OP deleted their post, I guess they don't really want to know any more.
I guess not
I'd like to help but I am too lazy to Google it for you.
|
|
|
|
|
PaulC1972 wrote: I'd like to help but I am too lazy to Google it for you.
I love it!
|
|
|
|
|
Colin Angus Mackay wrote: PaulC1972 wrote:
I'd like to help but I am too lazy to Google it for you.
I love it!
Aww, thanks :->
Ed.Poore has one quite like it, too.
I'd like to help but I am too lazy to Google it for you.
|
|
|
|
|
I'm not sure what you expect this to do. If you want to add to a starting date, there are two ways to do that, as follows:
Dim dt As DateTime = DateTime.Now
Dim dt2 As DateTime = New DateTime(dt.Year + 1, dt.Month, dt.Day)
Dim dt3 As DateTime = dt + New TimeSpan(365, 0, 0, 0)
You can call Convert.ToDateTime on your string that contains 1/1/2007, and there are numerous functions in a DateTime object to reformat it as a string.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
i want to break a large file into smaller files each of size 2KB.i want to give the file naes as 1.txt,2.txt,3.txt etc how can i do this
|
|
|
|
|
Assuming it's a text file to start with, just read it all into memory, then look for chunks that are 2K in size, and save them off. Which bit are you needing help with ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi all,
I am doing my Master's in Computing and Information Science. For my MS I need to do two projects. One related to web as a course so I am planning to do a project in ASP.NET 2.0 using C# or VB.net and other singletone C# or VB.net as Masters project. But I am thinking either to implement one means if I created web using C# then my master's project will be in VB.net or vice versa. I am new to the .net technology but I do have enough time to learn the technology and to code. About creating web site requirements are like database backend, high performance and not regarding online shopping as all other students did that. And for Masters req. project I am free to choose any topic. So I was just wondering can anyone please help me to finalizing the project topics specially for Masters. I dont want the code but a good project topic so that I can learn .net as well as it will be a good impression on my resume to get a job. Any suggestions are welcome. Thank You.
|
|
|
|
|
rahul_d wrote: I do have enough time to learn the technology and to code.
When are you going to finish your project? Have you consulted with your faculty members on your project?
|
|
|
|