I actually have same question.
My situation is we have an application installed in client's machine. Now we want to develop a website, which can launch that application. Is it possible to do it using Javascript? If not, then what is the solution?
User Profile
Collapse
-
Dynamic popup menu item events
Hi,
I used SWT to develop an windows application. In the application there is a dynamic created popup menu. The dynamic part is that i will pass a list of name to be a submenu of one menu item. However, when I code selection event, i cannot access to the list i pass in. Anybody got idea? Below is the code.
...Code:public static void setUpMenu(final Shell shell, Menu popUpMenu, final String clientId) { -
Format a long value and convert into String
Hi, guys. I have a Long value like 12345678, but i want to format it as 12,345,678 and then convert it into String. I can't find out the way to format a long value like that. Any Hints? -
Bitmap draw image with background color "Black"?
Hi, guys.
I have a program to draw bar/pie chart based on the data i hard coded in it. However, my image comes with "BLACK" background color. I don't know how to fix this. The code snippet is below:
chartGenerator. vb class:
...Code:Imports System.Drawing.Imaging Public Class chartGenerator Private myImage As Bitmap Private g As Graphics Private p() -
I guess I know where I went wrong.
Somewhere in my codes I had a event handler for dropdownlist1.s electedindexcha nged. And I put textbox2.text = "" there. So that's why whenever I changed my selection, contents in textbox2 will be removed. But thanks for giving suggestions anyway.
Cheers...Leave a comment:
-
Simple question for ASP AutoPostBack property
Hi, guys.
I have a web page that contains a drop-down list, a text box and a button. I set drop-down list and text box AutoPostBack property as false. When I run this page, I selected something in the drop-down list, and type some text in text box, then hit "Submit" button. I expected the result will base on what I selected and what i type in the textbox. However, it is not!
When i traced the code, I selected... -
How to make font size static?
Hi, guys.
I'm developing a web application for Sales Department people in my company. I used my 1024X768 resolution and "Medium" IE text size to test my Layout and it worked fine. However, some people in Sales Department use different settings like "800X600", "Larger" IE text size or even "Large font" in Appearance tab in Display Property. Those different settings would mess up my layout. What... -
-
Yep. Actually, I just figure out how i could write the copy constructor.
...Code:Public Class testCell Private _name As String Private isCopied As Boolean Public Property Name() As String Get Return _name End Get Set(ByVal Value As String) _name = Value End Set End PropertyLeave a comment:
-
Can I write Copy Constructor in VB?
Hi, guys.
I'm debugging a VB program that is written by the guy who already left the company. I found out the main problem is that the guy used object assignment which will mess up the data. For example, I have a customized class as following:
...Code:Public Class testCell Private _name As String = "" Private isCopied As Boolean = False Public Property Name() As String -
Simple SQL Server Question -- Is space within column name allowed?
Hi, guys.
I just wonder whether a space within column name is allowed in SQL Server 2000(i.e. "Item Number" as column name). In a stored procedure i saw:
And this stored...Code:Create table #temp (ExpiryDate varchar(255), "Item Number" varchar(255), "Description" varchar(255), Brand varchar(255), "Current Full Amt" varchar(255))
-
How to add an anchor in ASP.NET using VB?
Hi, guys.
I'm using VB.NET to write an ASP page. I use a datagrid to display data from database. I have two types of items: Dry and Frozen. I want to put anchor to these two headers so that whenever I click a hyperlink in the page, I will go to their positions. Here is my partial code:
...Code:Sub dtgCustomers_ItemDataBound(ByVal sender As Object, ByVal e As DataGridItemEventArgs) If (e.Item.ItemType -
How to use SQL Server to keep track of remote site DB2 table update?
Hi, Folks.
I got a scenario that cause me headache.
Currently our company is using an AS/400 Server which run DB2 to hold all critical data(I called it remote site). I dont' have acess to this database. My local site use SQL Server. SQL Server uses DTS to transfer data from DB2 to its local database.
Because of design issue, DB2 has 2 tables to contain the item information (like name, brand, categories),... -
DB2 Trigger question
Hi, I am new to DB2, just got a question.
I have a table called items to contain the item_id, item_name, item_descriptio n. I want to create a trigger so that everytime anyone add a new entry into the table, the trigger should send a email containing rows that had been added into the table to me.
Is it possible to do so in DB2?
Any help would be appreciate.
Ben -
I don't know if there is a *smarter* solution, but to my knowledge, you can use a *stupid* way to do so.
Basically your program takes the content of the result page. Then you put it as a string, and try to parse the string. I know that sounds stupid, but since those search engines would do paging for you, that's the only idea i come up with so far.
If anyone has a better idea, i would love to hear it...Leave a comment:
-
Clicked Cell still appear after I leave and re-enter the form? --C#
Hi, everyone.
I got a weird problem for my C# program. In my program, I use a DataGrid to display data. I bind the DataGrid to a DataTable. I made all the cells in DataGrid ReadOnly as True. So I can only Click on the cell but not change them.
Now, after I display the data, I clicked on one cell, then I clicked a button which will *virtually* go to the other form.(The reason why I said *virtually* is because I only... -
-
In fact, you can add a DataGridTableSt yle object, and create your own style column styles. Within DataGridTableSt yle class, there is a property called PreferredRowHei ght, which may be the one you want.
Hope this could help.
BenLeave a comment:
-
C# Printing Problem
Hi,I got a printing problem for my C# program. I need to pull out records from database and format them and then print them out.I used PrintDocument class and PrintPageEventH andler function to handle multiple page printing. When I tried printing the records in testing environment which has an HP LaserJet 2420dn printer, it worked fine. However, when I put the program into production environment which has an EPSON FX-2190, the results were shown Landscape,...
No activity results to display
Show More
Leave a comment: