|
I Really need some help and i mean REALLY.
I was looking at Barathons (SP?) Login thing, and my boss asked me to make him an Admin Panel Program with links to:
JETShop Shop Admin
JETShop Site
Lightstone Admin Panel
Email link:ilikeflyingdaggers@hotmail.co.uk
-Thanks in Advance Guys
|
|
|
|
|
And?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
well, does anyone have any files i could mod, because he gave it to me today, just boxed
|
|
|
|
|
Not gonna happen. That's not how this site works.
We'll help you with YOUR code, not turn over a complete module for you to modify. We're not in the business of saving peoples asses.
If you want something written for you, to your specifications, try http://www.rentacoder.com[^]. Get your checkbook out...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
What are you waiting for?
GIVE HIM THE CODE! IMMEDIATELY!!!
|
|
|
|
|
Excellent VB.NET info resouorce
http://it-pedia.com/vb-dotnet1.htm
|
|
|
|
|
|
Hi,
I am working with vb6 and owc11 and I get the following error when i try to call ExportPicture method from Chartspace:
"Run time error '430'.Class does not support Automation or does not support expexted interface".
I've tried also in VB.NET and I get also error.
I have installed owc11.dll 11.0.65555. Maybe there is an older version of the owc11 that is better than this, a link somtehing...
Thank you
George
-- modified at 11:05 Monday 5th December, 2005
|
|
|
|
|
I have a one dimension array of, for example, 20 elements. Is there any other way (than getting value by value) to copy the elemets 5 to 9 to a new array of 5 elements?
Thansk in advance,
Marc Soleda
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
Have you looked at Array.Copy()[^]
My: Blog | Photos
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
|
|
|
|
|
Ooops !! I missed to tell you that's for VB6.
Thanks anyway
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
-- modified at 10:53 Monday 5th December, 2005
|
|
|
|
|
IIRC, there is no function to do that in VB6.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Perhaps you shoud take a look to the API
Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)
You can use it like this:
Dim xData(20) as Integer
Dim xDataNew(4) as Integer
Call CopyMemory(xDataNew(0), xData(10), 8)
Hope this is usefull for you.
|
|
|
|
|
Very usefull, thank you very much!!
Marc Soleda
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
Hello, the .Net-Framework produces an error that I don't knowing how to solve the problem.
I'm developing a UserControl (UserControl1). It has the following Property:
Dim _test As New PropertyClass(Me)<br />
<br />
<<DesignerSerializationVisibility(DesignerSerializationVisibility.Content)> _<br />
Public ReadOnly Property TestProp() As PropertyClass<br />
Get<br />
Return _test<br />
End Get<br />
End Property
The PropertyClass I have shorten to the following:
<<TypeConverter(GetType(ExpandableObjectConverter)), Serializable()> _<br />
Public Class PropertyClass<br />
<br />
Private _Parent As UserControl<br />
<br />
Public Sub New(ByVal Parent As UserControl)<br />
_Parent = Parent<br />
End Sub<br />
<br />
End Class
(Normaly there are some Properties and Methods in the PropertyClass).
If I add my Control to a form, switch a property-value and then change the view to the form-code an error occurs:
The Codegeneration for the Property 'TestProp' failures. Error: 'The Type UserControl1 in Assembly ... is not signed as serialisable.'
I work with a german version of .net, I hope the translation is understandable.
Why .net wants to serialise the UserControl1, it isn't a public property, only a private variable... If I remove the TypeConverter the Problem does not occur (but I need it . In another case my PropertyClass has the following Property:
<<Browsable(False), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)> _<br />
Public ReadOnly Property Parent() As UserControl1<br />
Get<br />
Return _Parent<br />
End Get<br />
End Property
In this case the same error occurs. Has anybody a solution?
|
|
|
|
|
In Visual Basic 6 there was the easy possibility to set time and date of a computer by using following commands:
Time = TimeSerial(CInt(txtStunde.Text), CInt(txtMinute.Text), CInt(txtSekunde.Text))
Date = DateSerial(CInt(txtJahr.Text), CInt(txtMonat.Text), CInt(txtTag.Text))
Is there any similar and easy code in VB.NET
Thank you in advance!!!!!
|
|
|
|
|
Use the DateString and TimeString properties provided in VB.NET:
Public Function SetSystemDate(ByVal dateToSet As DateTime)
DateString = Format(dateToSet, "M-d-yyyy")
End Function
Public Sub SetSystemTime(ByVal timeToSet As DateTime)
TimeString = Format(timeToSet, "HH:mm:ss")
End Sub
|
|
|
|
|
Thank you very much for your help.
I'm using the german version of VB.NET and sometimes the help of VB doesn't really help. I was searching for "Set time" and "Set system time" in German and no useful link was found.
One porblem comes with the TimeString. If I want to set my time to 10:00 AM my time is set to 9:00 AM. I think this is a topic of the timezone. We are one hour ahead of UTC-Time (GMT). Searching the help because of this topic I found "TimeOfDay" proberty. This works without paying attention to timezone or something else (like daylight saving time).
Once again Thank you!
|
|
|
|
|
I am using GDI+ and I want to draw in forms , picture boxes and so on...
but the paint cant be redrawn as we always did in the forms properties of the form in VB6
so is there any equivalent
|
|
|
|
|
There is no equivalent in VB.NET. All your painting code should go in the Paint event of the object that your drawing on. You have to repaint everything yourself. You can't rely on the .NET Framework to repaint it for you.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi all,
I'm using a Winsock in VB6 but while doing different tests I found that after closing the socket and opening it again in a few seconds it appears an error message: "error 10048 : Address already in use" and I can't use the socket.
I close the socket every time the application is finished but I have to wait for half a minute to restart the application properly.
Any ideas on how to solve it?
Thanks in advance,
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
Ok, I've finally solved by assigning the local port as 0. By this way, every time the socket is opened it's assigned a random value so if the last time it has been left opened it doesn't matter.
Hope this helps to anybody else...
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
How do i call NetUserSetGroups ( in netapi32.dll ) in VB.Net ?
The prototype of NetUserSetGroups is as given below.
NET_API_STATUS NetUserSetGroups(
LPCWSTR servername,
LPCWSTR username,
DWORD level,
LPBYTE buf,
DWORD num_entries
);
Parameters ( from MSDN )
servername
[in] Pointer to a constant string that specifies the DNS or NetBIOS name of the remote server on which the function is to execute. If this parameter is NULL, the local computer is used.
username
[in] Pointer to a constant string that specifies the name of the user for which to set global group memberships. For more information, see the following Remarks section.
level
[in] Specifies the information level of the data. This parameter can be the following value.
Value Meaning
0 The buf parameter points to an array of GROUP_USERS_INFO_0 structures that specifies global group names.
The GROUP_USERS_INFO_0 structure contains global group member information.
typedef struct _GROUP_USERS_INFO_0 {
LPWSTR grui0_name;
} GROUP_USERS_INFO_0,
*PGROUP_USERS_INFO_0,
*LPGROUP_USERS_INFO_0;
buf
[in] Pointer to the buffer that specifies the data.
num_entries
[in] Specifies the number of entries contained in the array pointed to by the buf parameter.
Thanks in advance.
Ashik
|
|
|
|
|
Hi, I hope I'm not going over covered ground, but I have been looking for previously answered questions and tutes with my problem in mind, and have so far been unsuccessful. My question is:
In my program, I'm dragging an element from a label array, onto a picture box which has a grid drawn on it. When I initiate the drag, I highlight certain cells on this "grid" to specify where that label can go. If the label is dropped, I stop highlighting those cells. This is all well and good, but what if the user drops the label outside of the window? How am I meant to let my program know that this has happened?
So basically, I want to know whether there is a way to query either the mouse co-ords during a drag'n'drop and/or query if the label is still being dragged, which I could call with a timer and work it out that way. Any suggestions or better solutions would be welcomed greatly.
Thanks,
Hoopla!
|
|
|
|
|
Hi all,
I've spent all day trying this on my own unfortunately with 0 success.
Here's the thing. I need to be able to load a listbox by creating a class.
basically,
I've got a form with two listboxes and a textbox (number) and a label. (an order form basically)
In one listbox - there is a list of DVD's with the price attached.
By pressing a button 'add' an item from the listbox1 will be added to listbox2.
The price will then appear in the label.
My prob is basically how to create the array and have the listbox load via a class.
If you can point me in the right direction I'd be really grateful.
lost in the vb Jungle
|
|
|
|