|
The only way to do that with a JPEG is to either decrease the dimensions of the image or lower the image quality. JPEG images are already in just about the smallext size you can get them.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I am looking for the following images to add to my buttons on my toolbar:
Add, Delete, Find, Edit, Save, Undo, Memo, Report, and Exit
Does anyone have these or know where I can find them? If so could you email them to me ASAP to (tim@atsbilling.com)?
Thanks in advance
Beginner in VB.Net
|
|
|
|
|
check out the vb.net icon extractor. just point it to any compiled .dll file and it will pull any embedded icons out for you. i think the icons you are looking for reside in mscor.dll. just point the application to your system32 directory and you should get everything you need.
icon extractor
-jim
|
|
|
|
|
Thanks again Jim;)
Beginner in VB.Net
|
|
|
|
|
Still looking for a few. I don't have a mscor.dll file on my computer. Can you send it too me? Thanks.
Beginner in VB.Net
|
|
|
|
|
when we enter the username and password,then how can i check this user exist in network server(localserver) using VB.net windows applicatios .in this i used net.networkaccess.connect.but i did not get correct answer.
greetings
|
|
|
|
|
You might want to tell us what kind of server your checking this username and password against. We'll need alot more information than this to tell you what you need to do.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
anybody plzzzz help
when i enter a name and password in my text box then, how can i identify is it exist in our server
(intranet) using Vb.net windows application,if it not exist then "invalid user message" display on the label error.if it exist then go to product page
greetings
|
|
|
|
|
Server Error in '/Log_In' Application.
--------------------------------------------------------------------------------
The name 'adamtel' is not permitted in this context. Only constants, expressions, or variables allowed here. Column names are not permitted.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: The name 'adamtel' is not permitted in this context. Only constants, expressions, or variables allowed here. Column names are not permitted.
Source Error:
Line 158: .Connection.Open()
Line 159: .CommandText = stSQL
Line 160: milestone_Rows = .ExecuteNonQuery()
Line 161: If milestone_Rows <> 1 Then
Line 162: MsgBox("Did not insert row")
Source File: C:\Inetpub\wwwroot\Log_In\milestone.aspx.vb Line: 160
Stack Trace:
[OleDbException (0x80040e14): The name 'adamtel' is not permitted in this context. Only constants, expressions, or variables allowed here. Column names are not permitted.]
System.Data.OleDb.OleDbDataReader.NextResults(IMultipleResults imultipleResults, OleDbConnection connection, OleDbCommand command)
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
Log_In.milestone.milestoneAdd() in C:\Inetpub\wwwroot\Log_In\milestone.aspx.vb:160
Log_In.milestone.btnadd_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\Log_In\milestone.aspx.vb:125
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0
|
|
|
|
|
To me this sounds like you have a problem with your sql query syntax
|
|
|
|
|
yeah, that's rite, i have sql queries problems
thanks Gavin
|
|
|
|
|
Hi all,
Hope this is an easy one...
Here is the problem:
In the code-behind, I have dynamically built a series of tablecells each with a Literal control containing an image.
----------------------------------------------------------------------------
dim litCont as New System.Web.UI.WebControls.Literal()
dim strValue as string = "testString"
dim contStr as string = "<img name='pix1' onMouseDown='doMouseDown("& strValue &")' src='images/pix1.jpg' />"
litCont.text = contStr
objCell.Controls.Add(litCont)
----------------------------------------------------------------------------
When the user clicks on any of the images it fires the JavaScript function doMouseDown() which receives a string parameter.
QUESTION: How could I then pass the value of the str parameter to the Label Control ("legend") in "Form1" so that the label may be updated?
I have simplified the structure of the form
----------------------------------------------------------------------------
<html>
<head>
<script language="javaScript">
<!--
function doMouseDown(str){
// code stuff here
}
-->
</script>
</head>
<body >
<form id="form1" runat="server">
<asp:table id="mainTable" runat="server" >
<asp:tableRow runat="server">
<asp:tableCell runat="server">
<asp:label id="legend" runat="server" />
</asp:tableCell>
</asp:tableRow>
</asp:table>
</form>
</body>
</html>
------------------------------------------------------------------------
Thank you
|
|
|
|
|
Your question would be better handled in the ASP.NET Forum[^]. Your question has nothing to do with VB.NET. The solution would be based entirely in JavaScript and the HTML that's generated by the asp tagged controls (Hint, Hint!)
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
ok, I'll seek enlightment in other spheres.
pyb
A true guru not only knows, he can teach too.
|
|
|
|
|
document.GetElementByID("yourlabelname").value = str
hope this helps.
DADA
|
|
|
|
|
Hello Dada,
Thanks for your help.
<i>document.getElementById('legend').innerHTML = str;</i>
The line above is actually what works for me in this particular situation.
Anyway, thanks a lot for taking the time to help.
Cheers,
Pyb
|
|
|
|
|
I implemented a keyboard based tab system in my program. When you are in a control if you press "Enter" then the next control is focused as if you have pressed tab key. What the problem is that when you are in a DateTimePicker or TextControl and press "Enter" a "Dong" sound is heard which is like an error indicatior. How can I get rid of this sound?
|
|
|
|
|
|
Thanks for the link. It solves my problem and it is a comprehensive source solutions.
|
|
|
|
|
Hi
Short time before I had the same problem. This worked for me. The
e.Handled = True
disables the sound.
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar = Chr(13) Then
Me.SelectNextControl(Me.TextBox1, True, True, False, True)
End If
e.Handled = True
End Sub
CU
Dave
|
|
|
|
|
In VB 6, one can easily add in the API Viewer and then load up WIn32 API functions and constants in the viewer, so that it can be easily copy and pasted into our applications.In VB.Net, where can I find the APIs and its constants, so that I can cut and paste into my application.
|
|
|
|
|
www.allapi.net try there, there pretty good, examples and everything
"If i was king cigarettes would be free."
|
|
|
|
|
Purple Monk,
That site really helps.
You've given me a green light not purple.
Thanks.
|
|
|
|
|
In VB 6, one can easily add in the API Viewer and then load up WIn32 API functions and constants in the viewer, so that it can be easily copy and pasted into our applications.
In VB.Net, where can I find the APIs and its constants, so that I can cut and paste into my application.
|
|
|
|
|
There is no such app that and database that comes with VB.NET. Your best best for something like this is http://www.pinvoke.net[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|