|
Mike,
Then, I can use ActiveX controls to send messages to the serial port?
Thanks for your help. I guess from the viewpoint of a stand alone PC tied to a device directly via the Serial port, this would work fine but, does the activeX control allow me to have the page at the main server and still control the PC at home via the internet?
Sorry for my lack of experience and knowledge on this area. I have done web pages in the past and was the "Webmaster" for a Corvette car club but I never got deep into all the possibilities in HTML/web.
AngelLDiaz
led mike wrote: AngelLDiaz wrote:
What do I need, software wise, to be able to create such a monster?
For IE it sounds like you need to write an ActiveX control and embed it in the web page(s). I don't know about other browsers.
Is that what you wanted to know?
led mike
AngelLDiaz
|
|
|
|
|
AngelLDiaz wrote: I never got deep into all the possibilities in HTML/web.
Well it is all about "processes" right? I mean the code executes in "a process" right? Whatever machine that process is running on that is where the serial port will be right? ASP runs on the server so you could use the ActiveX control in ASP code to execute on the server machine, or you could use the ActiveX control embedded in HTML to execute in the browser and therefore on whatever machine the browser is running on.
Does that help?
led mike
|
|
|
|
|
Which serial port? The one on the web server, or the one on the computer browsing the page?
---
b { font-weight: normal; }
|
|
|
|
|
Hi People this Hefin i run a Group called Skullzsoftwares where i do freelancing for people needing softwares and Websites
I am facing a problem i have a Client he is not paying me much and so i wanted to finish this project soon.
The only thing left is that i want a Feedback form on this site and it should mail the adin about the feedback i am not using ASP.net for this project so please if anyone can help me with any other scipts accept for ASP.net script
please help me fast mail me at skullzsoftwares@gmail.com
If you need any help and i can help you i will surely
Skullz Softwares
|
|
|
|
|
1. Try to write a subject that has anything to do with the question.
2. Expect answers in the message board, not to an email address. If you are too lazy to check the board, why would anyone bother reply?
What capabilities do you have for running server scripts? ASP? PHP? CGI?
---
b { font-weight: normal; }
|
|
|
|
|
|
Hello to all the smart people,
I'm trying to create a composite control which include nested controls from the great Ajax Dev.
I overcame a lot of issues and can be helpful in some but my latest problem doesn't seem to disappeared.
I can't trigger the ITemplate that i declared (maybe improperly?) to show first a Gif on the progress and afterwords the calculated information from the database.
here are the templates:
the code is as followed:
<br />
[DefaultProperty("Text")]<br />
<br />
[ToolboxData("<{0}:SingleRecControl runat=server></{0}:SingleRecControl>")]<br />
<br />
[AspNetHostingPermission(SecurityAction.Demand, Level = AspNetHostingPermissionLevel.Minimal),<br />
<br />
AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]<br />
<br />
public class SingleRecControl : CompositeControl <br />
<br />
<br />
<br />
<br />
<br />
{<br />
<br />
<br />
<br />
private ScriptManager sm = new ScriptManager();<br />
<br />
<br />
<br />
UpdateProgress progBar = new UpdateProgress();<br />
<br />
UpdatePanel ratePanel = new UpdatePanel();<br />
<br />
ControlValueTrigger trig = new ControlValueTrigger();<br />
<br />
public Label ItemName = new Label();<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
private Style[] objStyle = new Style[3];<br />
<br />
protected override void CreateChildControls()<br />
<br />
{<br />
<br />
<br />
<br />
base.CreateChildControls();<br />
<br />
Controls.Clear();<br />
<br />
sm.EnablePartialRendering = false;<br />
<br />
sm.EnableViewState = true;<br />
<br />
sm.AppRelativeTemplateSourceDirectory = "~/Default.aspx";<br />
<br />
sm.ID = "cc2";<br />
<br />
sm.EnablePartialRendering = true;<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
btn.Visible = false;<br />
<br />
btn.CommandName = "NEXT";<br />
<br />
btn.ID = "Test";<br />
<br />
btn.UseSubmitBehavior = false;<br />
<br />
btn.Text = "Test";<br />
<br />
<br />
<br />
<br />
objStyle[0] = new Style();<br />
<br />
ItemName = new Label();<br />
<br />
<br />
<br />
ItemName.BorderStyle = objStyle[0].BorderStyle;<br />
<br />
ItemName.BorderWidth = objStyle[0].BorderWidth;<br />
<br />
ItemName.BorderColor = objStyle[0].BorderColor;<br />
<br />
ItemName.Width = objStyle[0].Width;<br />
<br />
ItemName.Height = objStyle[0].Height;<br />
<br />
ItemName.ID = "lblCheck";<br />
<br />
ItemName.Text = "bl";<br />
<br />
ItemName.Visible = true;<br />
<br />
<br />
<br />
this.Controls.Add(ItemName);<br />
<br />
<br />
<br />
<br />
<br />
<br />
progBar.ProgressTemplate = new BarGif("blablablablablabla");<br />
<br />
progBar.ID = "GifBar";<br />
<br />
ratePanel.ContentTemplate = new RemTemp();<br />
<br />
ratePanel.ID = "RatePanel";<br />
<br />
trig.ControlID = this.ID + "_" + ItemName.ID;<br />
<br />
trig.PropertyName = "Text";<br />
<br />
this.ratePanel.Triggers.Add(trig);<br />
<br />
this.Controls.Add(sm);<br />
<br />
this.Controls.Add(progBar);<br />
<br />
this.Controls.Add(ratePanel);<br />
<br />
<br />
<br />
<br />
<br />
}<br />
<br />
protected override void Render(HtmlTextWriter writer)<br />
<br />
{<br />
<br />
base.Render(writer);<br />
<br />
this.Controls.Clear();<br />
<br />
sm.RenderControl(writer);<br />
<br />
<br />
<br />
progBar.RenderControl(writer);<br />
<br />
ratePanel.RenderControl(writer);<br />
<br />
ItemName.RenderControl(writer);<br />
<br />
}<br />
<br />
<br />
<br />
public class BarGif : TemplateControl, ITemplate<br />
<br />
{<br />
<br />
private string _barPic;<br />
<br />
public BarGif(string template)<br />
<br />
{<br />
<br />
this._barPic = template;<br />
<br />
}<br />
<br />
public void InstantiateIn(Control container)<br />
<br />
{<br />
<br />
LiteralControl lc = new LiteralControl("<img src=&quat;"+this._barPic+"&quat;/>");<br />
<br />
container.Controls.Add(lc);<br />
<br />
}}<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
public class RemTemp : SingleRecControl, ITemplate<br />
<br />
{<br />
<br />
public event System.EventHandler ProssFinished;<br />
<br />
private SophiaClass.DemoDbAcc dbAcc=new DemoDbAcc();<br />
<br />
private DataTable itemRateTable=new DataTable();<br />
<br />
public string userNam = "31";<br />
<br />
public RemTemp()<br />
<br />
{<br />
<br />
RecomTableBuilder();<br />
<br />
<br />
<br />
}<br />
<br />
<br />
<br />
<br />
<br />
protected void RecomTableBuilder()<br />
<br />
{<br />
<br />
<br />
dbAcc = new DemoDbAcc();<br />
<br />
itemRateTable = dbAcc.GetRateTable(int.Parse(userNam));<br />
<br />
if (!this.DesignMode) Thread.Sleep(4000);<br />
<br />
<br />
<br />
ItemName.Text = recItem.ItemName;<br />
<br />
ItemDesc.Text = recItem.ItemDescript;<br />
<br />
ItemPhoto.ImageUrl = recItem.ItemPhotoPath;<br />
<br />
}<br />
<br />
private Items MakeArrRec(DataTable table, int index)<br />
<br />
{<br />
<br />
recItem = new Items();<br />
<br />
recItem.ItemID = table.Rows[index]["id"].ToString();<br />
<br />
recItem.ItemName = table.Rows[index]["itemname"].ToString();<br />
<br />
recItem.ItemDescript = table.Rows[index]["itemDesc"].ToString();<br />
<br />
recItem.ItemPhotoPath = table.Rows[index]["itemPhotoPath"].ToString();<br />
<br />
return recItem;<br />
<br />
}<br />
<br />
}}<br />
can someone please help me?
please advise.......
i feel so lucky to have someone to share my troubles
Lior
|
|
|
|
|
Hi all,
I am creating an dynamic page , in that page there will be 3 (for example) div layers, each layer has it's contents such as calender, link, news likw this. The admin of this site can change the menu(Div layer) order, assume that Calender is place 1 and Link in place 2 and News in place 3, if the admin drag the div layer 3(News) over the div layer 1(calender) and drop there means, the oreder should changed as News is place 1 and Calender in place 2 and Links in place. I found solution for drag and drop, but i cant able to get an idea for the dragover or replacing the position. Plz can any one suggest me to how to do this using javascript??
Example:
Positon 1:
Calender
Positon 2:
Link
Positon 3:
News
After drag and drop of News on the Calender position the apperance should become like this:
Example:
Positon 1:
News
Positon 2:
Calender
Positon 3:
Link
Thanks in advance
Bye
Know is Drop, Unknown is Ocean
|
|
|
|
|
|
Anyone can suggest any decent web traffic tracking? Thanks
<italic>Work hard, Work effectively.
|
|
|
|
|
|
I am working on coding a binary search tree and am trying to draw the binary tree. I have read on the web about DrawableFrame but am unsure as how to use it.
Can anyone give me any information on the package jpb.*? How should I get java to recognize it?
Thanks
Shireen
|
|
|
|
|
does anyone know how i can use an IE expression in my CSS file and still have it validate as valid CSS2?
i'm using this line to get the effect of "max-width":
width: expression(document.body.clientWidth > 720? "720px": "auto" );
thanks in advance.
|
|
|
|
|
Call me a Negative Nancy but I HIGHLY doubt it. I could be wrong..
William M.
[netdev]
|
|
|
|
|
i found a way to do this i removed the statement from the css file, and put it in the document's header.
<!--[if IE]>
<style>
.content {
width: expression(document.body.clientWidth > 720? "720px": "auto" );
}
</style>
<![endif]-->
|
|
|
|
|
hey i am stuck with a problem ,i am asked to make a vertical menu in asp.net and c# where the data will be populated from sql server 2000 database and the menu should have infinite sub menu.
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
|
Hi,
Did you tried this with an repeater?? by giving the menuitem inside the <itemtemplet>
Bye
Know is Drop, Unknown is Ocean
|
|
|
|
|
urgently need code to make a vertical menu with infinite submenu in asp.net and c# where the data will be populated from sql server 2000.Please help
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
Hi guys
I'm really newbie in ASP and I'm trying to call a C console executable program from ASP.
My problem is:
A C program only returns an 'int' and that has been enough until now to comuniccate the result from the program to ASP routine that is calling the C program.
Now I need to return a String, there is a way to communicate C program with ASP?
Or there is a way to redirect the standard output of C program to a variable in ASP?
Thanks in forwarding.
Dr.Pi
|
|
|
|
|
Hi,
i have a large table. Its style is set to style="overflow: auto; height: 500px" so i get a fixed size for the table and scrollbars are added automatically.
Now i want to check if a row is visible to the user or if it's outside the visible table area.Any chance to get this information with javascript?
Thx alot
Tobias
|
|
|
|
|
Sure. Judicious comparisons of the row's offsetTop with the table's clientHeight and scrollTop ought to do the trick.
every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- C hris L osinger, Online Poker Players?
|
|
|
|
|
Hi everybody!
I'm trying to scan a port to see if it is opened or not.
now I'm just trying to connect to the port, if an exception is being thrown, it means the port is closed, otherwise its opened.
the port scanner works but its HIGHLY inefficient(!!!), I'm trying to find a better way to check if the port is opened or closed but it seems I can do nothing with the port until I'm connected (or not connected).
help anyone???
Thanks!
|
|
|
|