|
Tiyani wrote: Any of you guys been exposed
No, it is illegal here
Tiyani wrote: creating the Schedule in a calender method
there is no such thing as calendar method
Tiyani wrote: feel free to post your solution
there are planty of articles here at CP. Pick your choice and give credit where credit is due.
Tiyani wrote: have fun
will try.
|
|
|
|
|
Yusuf wrote: there is no such thing as calendar method
Private Sub Calendar()
End Sub
Oops, there is now
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Don't expose in public, keep it private
I are troll
|
|
|
|
|
Steven J Jowett wrote: Private Sub Calendar()
End Sub
But, but that is private method. No use outside of the class
|
|
|
|
|
Hi All,
Recently, i developed a Product in VB6. It is related to Banking... For some security softwares considering this a malicious software. In this software, there are two main files
1) Autorun.exe
2) IDBankingB.exe
Autorun.exe
-----------
1. It will copy the related files(DLL) to "System32" directory and registering the DLLs
2. Call the Main exe (IDBankingB.exe), and terminate(Autorun.exe) by itself.
IDBankingB.exe
--------------
Actual functionality of banking.
Is there any implementation change requires in "Autorun.exe"?
If there is no need to change the implementation, then how to escape from security software...
Please help me if anybody knows...
Thanks
Thanks & Regards
Kumaran
|
|
|
|
|
Kumaran21cen wrote: Recently, i developed a Product in VB6
That's your first mistake.
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Kumaran21cen wrote: 1. It will copy the related files(DLL) to "System32" directory and registering the DLLs
in Autorun.exe, copying the dll to system32 will occur each time you dbl click on it?
If that a setup/install you have to do it once, if that part of running your app, then your approach is wrong IMO.
If that is banking software so I will assume you are trying to install it on the server, the client pc should run Autorun.exe?
Where it says that it is "malicious software", server side or work station side?
Like car accidents, most hardware problems are due to driver error.
Samir R. Ibrahim
|
|
|
|
|
DEAR ALL
I am doing my university Project in VB dot net 2005. and subject is "Video LAN conferencing in office environment" .
my project contain " LAN conference in office, conference sehudle" FTP ,Remote Desktop , LAN massager".
I try to get help form university but no out put. peoples from out side university "software house' not help with out money that i have not.
so any one who have some ideas about this project please send me .
Thanks alots
....................please share knowledge it increases with sharing ..........................
My e mail m_alisafdar@yahoo.com
|
|
|
|
|
And todays idiot of the day award goes to....
Why would you take a project if you have no idea how to do it ? If you paid a software house to write this, how would you deserve to pass your course ?
Oh, and why give your email to every spammer who trawls the web for people to offer russian brides and penis pills to ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
I am reading from a file a list of URLs, selecting ones which match criteria, and adding them to a TextBox line by line.
Each line is in the correct format starting with an a href tag etc
How do I make this appear as a clickable hperlink in the TextBox?
(I've tried using a PlaceHolder filled with Hyperlinks at run time intead, but the lack of formatting ability kills that. )
It must be possible because when I initially posted this message I had a complete a href line in line two, above, and it turned out in the posted message as a link.
Ormond
|
|
|
|
|
I hate to burst your bubble, but the way this forum's posts work and the way textboxes work, have absolutely nothing in common, besides text.
A url link is a form of html and the textbox control simply does not interpret html, or any other code for that matter.
Possible solutions to your problem, are the listbox control, and the browser control (if you're using VS 2008)
The listbox control will let you ad lines of text, and lets you easily access them line by line. That way you could conceivably check which line is clicked and then use that lines text to create a link clicked event or something
The browser control, for your purposes, is a bit like a textbox that will interpret and automatically format html (i.e. url links).
My advice is free, and you may get what you paid for.
|
|
|
|
|
Thanks, I think I've cracked it.
The solution (in case anyone needs it) which "works" is to use a PlaceHolder and a series of Hyperlinks, and to set the width of the Hyperlinks wide enough so that they naturally occupy a whole line.
Thanks for your help.
|
|
|
|
|
I need to provide my self a path for a file to save but also I try to create a new file type.
Like this;
NewFile.slx
--Config.xml
--Data.ktt
Above you see, NewFile.slx contains two files, but for making .ktt file I give a component a path and it saves the file on that path. So path should be like this "C:\NewFile.slx\Data.ktt"
I saw something like that on a software; file.dll?type=something it was giving you some jpeg file.
How could i do that?
|
|
|
|
|
You might want to do some research on "Alternate file streams" - But be warned: They only work on NTFS drives.
|
|
|
|
|
thank you for the answer but as you have said, it's just for ntfs.
i need something like folder but hidden. something to present with a path address
|
|
|
|
|
How about using zip without compression?
You can write your files to the zip file, and you can change the extension, so WinZip and other compression programs won't recognize it.
My advice is free, and you may get what you paid for.
|
|
|
|
|
But my custom files could be over 200 mb and if i go with the zip stuff, i have to create my data file to temp location then i gotta zip it. this means 400 mb hdd space instead of 200 mb. if i could give a path like this C:\file.zipx\data.ktt file will be directly saved under that.
|
|
|
|
|
Stylus VB wrote: i have to create my data file to temp location then i gotta zip it. this means 400 mb hdd space instead of 200 mb. if i could give a path like this C:\file.zipx\data.ktt file will be directly saved under that.
Let us assume for a moment that you managed to do what you are trying to do with a simple File.Move("C:\Data.ktt", "C:\YourContainerFile.cnt\Data.ktt") .
Here is what would actually happen:
1. C:\Data.ktt (disc usage 200 mb)
2. Copying Data.ktt to C:\YourContainerFile.cnt\ (disc usage 400 mb)
3. Deleting C:\Data.ktt (disc usage 200 mb again.)
You can create the zip file at run time, and write to it at run time. In the end you would use your system memory and hdd space to the exact same extent.
Think about it, what you are trying to accomplish in the end is a file containing another file. Or in other words, you want a folder that acts like a file. That is exactly what a zip file is.
My advice is free, and you may get what you paid for.
|
|
|
|
|
Hi guys,
actually i am creating a form with comboboxex creating dynamically from the previous forms inputs. everything is working fine except one thing for comboboxes.
i wnat combobox to trigger selectedindexchanged event for all the comboboxes that are created dynamically. below is the code for combobox creation. please help me.
Public Class frmTableDetails
Dim txtboxTableName As New TextBox()
Dim chkPrimKey As New CheckBox()
Dim lblTableName As New Label
Dim lblNumCol As New Label
Friend WithEvents comboNumCol As New ComboBox
Dim numTable As Integer, i As Integer, vertPosVal As Integer, j As Integer
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
numTable = frmSchemaSetting.comboxNumTable.Text
Me.MdiParent = frmMain
vertPosVal = 25
For i = 1 To numTable
lblTableName = New Label
lblTableName.Name = "lblTableName" & i
Me.Controls.Add(lblTableName)
lblTableName.Text = "Table Name " & i
lblTableName.Location = New Point(20, vertPosVal)
txtboxTableName = New TextBox
txtboxTableName.Name = "txtboxTableName" & i
Me.Controls.Add(txtboxTableName)
txtboxTableName.Location = New Point(100, vertPosVal)
txtboxTableName.Height = 20
txtboxTableName.Width = 197
lblNumCol = New Label
lblNumCol.Name = "lblNumCol" & i
Me.Controls.Add(lblNumCol)
lblNumCol.Text = "Number of Columns "
lblNumCol.Location = New Point(305, vertPosVal)
comboNumCol = New ComboBox
comboNumCol.Name = "comboNumCol" & i
Me.Controls.Add(comboNumCol)
comboNumCol.Location = New Point(405, vertPosVal)
comboNumCol.DropDownStyle = ComboBoxStyle.DropDownList
For j = 1 To 30
comboNumCol.Items.Add(j)
Next
vertPosVal = vertPosVal + 25
Next
End Sub
Private Sub comboNumCol1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles comboNumCol.SelectedIndexChanged
frmColumnDetails.Show()
End Sub
End Class
|
|
|
|
|
What is needed is something like the following:
Private Sub comboNumCol1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles comboNumCol1.SelectedIndexChanged, comboNumCol2.SelectedIndexChanged, comboNumCol3.SelectedIndexChanged, ..........
frmColumnDetails.Show()
End Sub
adding a comboNumCol'N'.SelectedIndexChanged for each comboBox you want to be handled.
BTW Please, place your code samples between <pre>....code goes here....</pre> and format it properly. You know indenting, blanks before and after subs etc.
It will increase your chances of getting an answer at least 100 fold.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Thanks henry for your prompt reply...and problem got solved..and the modified code is as followed...
Public Class frmTableDetails
Dim txtboxTableName As New TextBox()
Dim chkPrimKey As New CheckBox()
Dim lblTableName As New Label
Dim lblNumCol As New Label
Friend comboNumCol As New ComboBox
Dim numTable As Integer, i As Integer, vertPosVal As Integer, j As Integer
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
numTable = frmSchemaSetting.comboxNumTable.Text
Me.MdiParent = frmMain
vertPosVal = 25
For i = 1 To numTable
lblTableName = New Label
lblTableName.Name = "lblTableName" & i
Me.Controls.Add(lblTableName)
lblTableName.Text = "Table Name " & i
lblTableName.Location = New Point(20, vertPosVal)
txtboxTableName = New TextBox
txtboxTableName.Name = "txtboxTableName" & i
Me.Controls.Add(txtboxTableName)
txtboxTableName.Location = New Point(100, vertPosVal)
txtboxTableName.Height = 20
txtboxTableName.Width = 197
lblNumCol = New Label
lblNumCol.Name = "lblNumCol" & i
Me.Controls.Add(lblNumCol)
lblNumCol.Text = "Number of Columns "
lblNumCol.Location = New Point(305, vertPosVal)
comboNumCol = New ComboBox
comboNumCol.Name = "comboNumCol" & i
AddHandler comboNumCol.SelectedIndexChanged, AddressOf MyComboBox_SelectedIndexChanged
Me.Controls.Add(comboNumCol)
comboNumCol.Location = New Point(405, vertPosVal)
comboNumCol.DropDownStyle = ComboBoxStyle.DropDownList
For j = 1 To 30
comboNumCol.Items.Add(j)
Next
vertPosVal = vertPosVal + 25
Next
End Sub
Public Sub MyComboBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
MessageBox.Show(CType(sender, ComboBox).SelectedItem)
frmColumnDetails.Show()
End Sub
End Class
but now there comes another problem that when in the next form i am trying to read the value selected in combobox, it is giving error and i am stuck.. below is the code...continued from my last code...now "numcolumn = frmTableDetails.comboNumCol.Text" giving error at runtime that string to integr conversion not permitted.. but in my las code which u already read, same code is working fine i.e. "numTable = frmSchemaSetting.comboxNumTable.Text".. i don't know what is the issue, as the selected value from combobox will create further textboxes in my current form dynamically.. please help me..
Public Class frmColumnDetails
Dim txtboxTableName As New TextBox()
Dim chkPrimKey As New CheckBox()
Dim lblTableName As New Label
Dim vertPosVal As Integer, i As Integer, numcolumn As Integer
Private Sub frmColumnDetails_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
numcolumn = frmTableDetails.comboNumCol.Text
MsgBox(numcolumn)
For i = 1 To numcolumn
lblTableName = New Label
lblTableName.Name = "lblTableName" & i
Me.Controls.Add(lblTableName)
lblTableName.Text = "Table Name " & i
lblTableName.Location = New Point(20, vertPosVal)
txtboxTableName = New TextBox
txtboxTableName.Name = "txtboxTableName" & i
Me.Controls.Add(txtboxTableName)
txtboxTableName.Location = New Point(100, vertPosVal)
txtboxTableName.Height = 20
txtboxTableName.Width = 197
chkPrimKey = New CheckBox
chkPrimKey.Name = "chkPrimKey" & i
Me.Controls.Add(chkPrimKey)
chkPrimKey.Location = New Point(305, vertPosVal)
chkPrimKey.Text = "Primary Key"
vertPosVal = vertPosVal + 25
Next
End Sub
End Class
|
|
|
|
|
I have a small app which uses an Access DB as a datasource. I can query it for specific field values easily but I can't work out how to do a wildcard search in query builder.
The following works fine using a '?' for specific field matches but doesn't work for partial string searches:
SELECT [Stud/Owner New], [Sire], Dam, Damsire, [Sex & DOB], Notes
FROM [Data 2009]
WHERE (Dam LIKE ?)
ORDER BY [Stud/Owner New], [Sire]
Any ideas anyone?
Thanks.
|
|
|
|
|
Can you try this one?
WHERE (Dam LIKE 'dam*')
More information on wildcards can be found here[^]
I are troll
|
|
|
|
|
Hi,
Tried that one but no luck. The designer doesn't seem to like any character for searching other than the ?. If single quotes surround the filter criteria, it treats it as a specific text filter.
|
|
|
|
|
The QBE-editor from Access[^] accepts the filter without hesitation. I somewhat assumed from your original question that you wanted a text-filter?
I are troll
|
|
|
|