|
Well, first of all you need to write an ASP.NET site. I'd recommend using C#, because it sounds like you need a lot of help, and there are a lot more people answering C# questions, and C# samples, here on this site.
jamestong wrote:
How can I also provide security as I want to limit the access to my database to a number of users only
You can filter via IP, or set up a password system, whichever suits you better.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
Hi Christian,
Thanks for the opinion, but my project is using Visual Basic and database is Access. My project dateline will be in a few wks time. Hence I dont think there will be time for me to merge from one programming platform to another.
I will stick to VB and Access. Any help from the rest?
Rgds,
James
|
|
|
|
|
Do you mean VB6, or VB.NET ? If VB6, you're screwed. If VB.NET, you can still use ASP.NET, but you'll find less help online, at least here.
Why do you have a project on for which you have 2 weeks, and not the faintest idea how to do it ?
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
hello...i've use the datagrid which is bounded with the textbox...however,when i tried to view what i've develop in the browser,the datagrid will not appear.
i've tried many things to make it appear but there is no avail.can somebody please show me how to fix it??? =(
besah
|
|
|
|
|
First, since you mentioned "browser", your question really belongs in the ASP.NET Forum, not VB.NET.
Second, fix what? Be sure to include a code snippet in your post so we can see what's going on and how your doing things.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
First time contributor
I have a copy application that copies a folder from one location to another.
If Directory.Exists(loc1orginal) Or Directory.Exists(loc1backup) _
Or Directory.Exists(loc2original) Or Directory.Exists(loc2backup) Then
Try
LogEvent("Copying " & loc1orginal & " to " & loc1backup & " ")
fso.CopyFolder(loc1orginal, loc1backup)
If chkLocation2.Checked = True Then
LogEvent("Copying " & loc2original & " to " & loc2backup & " ")
fso.CopyFolder(loc2original, loc2backup)
End If
Catch ex As Exception
LogEvent("Exception generatted: " & ex.Message)
berror = True
End Try
I would like to add a progress bar to the app for the user, simple! But how do I measure the values needed to feed the nim and max values to the progress bar comtrol? Will I need to compare size of the directories and match from there????
Please help
japel
|
|
|
|
|
If your going to use the File System Object CopyFolder method, you really can't add a meaningfull progress bar since CopyFolder will not fire any events you can subscribe to to update your progress bar. A couple of alternatives would be to fire off the Copy process you find in Explorer, which has its own progress bar, or write your own Copy function that can track the number of files/bytes it needs to copy and update a progress bar itself. Using the code you have now, you can't add a progress bar to it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello,
In VB6, MoveLast is an method of Adodb.Recordset. Can anybody tell me that what is the alternate function in VB.NET. Because in Vb.net, this function is not available.
Regards,
Eshban
EsHbAn BaHaDuR
|
|
|
|
|
Hi Eshban,
there is no corresponding/alternate method in vb.net.
i'd suggest you read up on ado.net (overview, samples) a little (or alot). ado.net is a subset of the .net bcl that can be used to work with data and data structures.
hope this helps.
-jim
|
|
|
|
|
In ADO.NET objects are now treated as collections. To move to the last row in a dataset you can retrieve the .Rows.Count property, and then access the last row by index like a VB6 collection.
Just remember that unlike old VB6 collections, the ADO.NET collections are zero based , so you would access the last row by selection of
.Rows(.Rows.Count-1))
Robert
|
|
|
|
|
Dear all
I program in vb.net and use T-sql. I want to get into web development and i have heard about These development languages: vb.net , c#, c++/c.net , Asp/Asp.net , XML, XSLT, HTML , DHTML , T-sql , com , com +
and these platforms : Ms Sql 2000 , my sql, microsoft IIS
the picture that i have is very convoluted as to what i need to learn in order to be able to develop web sites that can be dynamically linked to a remote sql server.
Any help and advise that you can give me with regards to development capabilities that i need to learn to achieve this task would be greatly appreciated.
thanks
|
|
|
|
|
you'd be much better off posting your question to either the web development or asp.net forums. your question isn't really related to vb.net.
-jim
|
|
|
|
|
It is possible that you will need to learn all of them but you can focus on two or three and it all depends on what you are comfortable with. I suggest start to learn HTML then ASP.net and since you already know VB.net use this as your code behind language or more popular c# if you want to learn. Not really much to it since you already know how to code. You should also learn javascript for cleint side coding. Pick up an html and asp.net book and navigate the pages of CP.
|
|
|
|
|
Has anyone ever tried to code a piece of software to browse his bank(hsbc for instance) accounts, buy sell stock shares thru this software. This software is not meant to be only with ASP.NET, it can also be built using MFC or any other related libraries of .NET framework or previous Microsoft related libraries. I have got a similar piece of code in Java, however I would like to study its .NET version, what would it be like and what libraries of framework would be used, what methods be called to make a connection to the bank's server, browse accounts and buy and sell stock shares. I am trying to code a non-asp version of it for http://www.hsbc.com.tr/. Does anyone have any idea. I would later automatize my buying and selling thru some technical indicators..
Thank you for any opinions..
born to ask
|
|
|
|
|
You say you have "a similar piece of code in Java." Does that mean that you have a working program that actually accesses your bank accounts and does what you want?
|
|
|
|
|
Well, yes. it is working piece of code(a bunch of classes) but going obsolete and needs to be updated. one of my friends coded it, did not continue to complete the backend decision making mechanism to decide when to buy/sell, what to buy/sell.
basically, it submits login, pass, pin number and makes a connection.
I dont know if the bank would provide me with an API to simplify my task, but i would like to know if anyone with background both in finance and programming ever tried to program such a code, any comment would be appreciated.
born to ask
|
|
|
|
|
hi,
i am able to capture image of a visible form,when i click on a button
the image of the form is saved.the problem is i have to do the same for a
hidden form,but i am not able to do it.what happens is this,when i click on
the button the form which is on the top its image is saved.i am using bitblt
for copying from hdc of form to hdc of bitmap.pls help me
thanks in advance (parag)
parag
|
|
|
|
|
This seems to be a popular question lately.
If it is hidden, it is not drawn at all. There is no "hidden grphics buffer" to BitBlt from. Therefore, there is nothing to capture.
Charlie
if(!curlies){ return; }
|
|
|
|
|
hi,
i am able to capture image of a visible form,when i click on a button
the image of the form is saved.the problem is i have to do the same for a
hidden form,but i am not able to do it.what happens is this,when i click on
the button the form which is on the top its image is saved.i am using bitblt
for copying from hdc of form to hdc of bitmap.pls help me
thanks in advance (parag)
parag
|
|
|
|
|
hi,
I want to store database info in backend. For that, I want to accept any proj name and then read all the form names in the proj. and again read all the control names from the form. we can read all the control names from the form but how to read form names from the proj.
can u pls help me.
|
|
|
|
|
I expect the project file ( which is XML ) will help you here.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
i have a png file which includes 20 different icon. i load it into a image variable but i have no idea how i can cut icons from there.
Example Code
Dim img As Image
img = img.FromFile("Icons.png")
'i need an method like Getimage (x, y, Width, Height) as image
dim newImg as Image
newImg =img.GetImage(x, y, Width, Height)
Any Idea? thanks.
|
|
|
|
|
Your GetImage function could look like the following:
Public Function Getimage(ByVal sourceImage As Image, ByVal x As Integer, ByVal y As Integer, ByVal width As Integer, ByVal height As Integer) As Image
Dim result As Bitmap = New Bitmap(width, height)
Dim g As Graphics
Try
g = Graphics.FromImage(result)
g.DrawImageUnscaled(sourceImage, -x, -y)
Finally
If Not g Is Nothing Then
g.Dispose()
End If
End Try
Return result
End Function
Havent tested the code but I think it should work. In general it just generates an empty Bitmap, creates a Graphics object and draws the original image at a location so that only the needed part is drawn.
There are probably more efficient ways out there, but it should do fine this way for smaller images.
|
|
|
|
|
I want to get hDC of a picturebox for stretchblt function.
API function --CreateCompatibleDC-- could not get the value.
Could you tell me how to do ?
Thanks!
|
|
|
|
|
is there a way to have atleast 2 deferent colors of text in one textbox?
this is for a chat server/client project and I want deferent colors for messages coming from the server ect...
thanks for the help
|
|
|
|