I have quite a bit of experience with sql but I am just starting to learn about jobs. I have created several test jobs but unfortunately they never work when I schedule them. Here are the details:
1. I am working on my own computer with a database that I created. Permissions should be no...
From within a servlet, is it possible to learn the location of that servlet's .class file?? I suspect that one of the methods in the class GenericServlet might do this, but that's just a guess.
My .jsp pages all call the post method of a servlet. Here is the method's signature:
public void doPost(HttpServletRequest req, HttpServletResponse res)
My servlet needs to learn the caller's url. Several online sources suggest this approach:
String url=""...
I want my Eclipse web application to communicate with a hypersonic database. Both are on my PC. Luckily, Hypersonic offers a jdbc driver (in a .jar file) for this purpose. Unfortunately, I CANNOT get the project to notice the .jar file. So far I have tried these fixes:
1. I added a...
I want to create a javascript that does two things:
1. Prints the current page. I have already learned that window.print() does this.
2. Sends the browser to a different web page. This is an inTRAnet webpage so the user won't think I'm hijacking them.
What is the second line of code?
I want a script to start when either of these things happen:
1) The user closes this tab.
2) The user closes this instance of their browser.
How can I do that? I found a list of javascript events(http://www.w3schools.com/jsref/jsref_events.asp). Unfortunately, I don't see anything like...
You will laugh at the simplicity of this question.
I have experience with asp.net websites, and with Java applications running in a commandline environment. However, I have never done a console application using Visual Studio. Now I need to make a console application using vb.net and VS2005...
The "many" side of a one:many relationship can be a field that allows nulls. That is quite unusual, but it is legal in SQL. Now consider this scenario:
I have tableA, tableB, and tableC.
TableB has a one:many relationship with tableA. That relationship is NOT mandatory.
TableC has a one:many...
I am an Oracle database administrator and my friends think that I know how to fix their computers.
A home pc running Windows xp has had printing issues with a local printer. No LAN is involved.
I decided to delete the printer using the gui and then reinstall it. Unfortunately, the icon...
One column in my gridview contains about a paragraph of text in each row. For this particular column, I need to set a fixed width and allow word wrap. I tried this syntax:
If IsPostBack Then
With GridView1
.DataSource = myDataView
.DataBind()...
In VS2003, the machine cranked out dozens of lines of code whenever you created a webform. Later, you could find a placeholder labeled "Web Form Designer Generated Code". If you opened the placeholder, you could change the code.
In VS2005, I see *nothing* like that. In VS2005, where can I find...
My textbox's .text value never changes, and its textChanged event never fires. Here are the details:
1. It is a System.Web.UI.WebControls.Textbox. It is NOT an html textbox.
2. The web application is written in asp.net 2.0 in vb not c#.
3. The codebehind tag is:
<asp:TextBox...
When I click a button on a certain vb.net 2.0 webform, the machine IMMEDIATELY loads the button's .postback url. It skips everything in the button's .click event handler. On my other webforms this does not happen.
I looked at the offending button's properties and I saw nothing obviously wrong...
Frequently I need to create url strings. To complete this task, I want to use a class that builds urls. If necessary, I could write the class.
Does vb.net 2.0 have any objects like "urlbuilder" or "querystringbuilder"?? I do not want to reinvent the wheel.
I want to create a stored procedure with a varchar input parameter. The parameter will be a view's name. I want the sp to return the results of "Select * from " & [view name]
Some years ago, I recall writing a sp that took a String and executed it as sql statement. I want to use this...
Dozens of my webforms use the same masterpage. My master page has a label. This label ought to be invisible on ONE of the webforms.
If I write anything about this label in my webform, VS freaks out because the label is not on the webform. So I need to write my code in the master page.
I...
I am creating an html table. The walls of some cells should exist, but be invisible to the user. Currently, my table ALMOST works. I only have one problem. When an invisible wall intersects a normal wall, it causes a tiny break in the visible wall.
Can you help me to fix this issue...
I have learned that the attribute "bgcolor" is obsolete. What is the current alternative? I want to use an html attribute not something from a real language.
Recently I installed my .mde on several PCs. This software has operated for years without a problem. On the new PCs I get an error message when Access tries to use the date() function. The messsage states:
The expression onClick you entered as an event property setting produced the following...
I created a Jmenu and added it to a JMenuBar. Unfortunately the JMenu is aligned vertically to the top of the JMenuBar. This leaves me with white space at the bottom of the JMenuBar.
JMenuBars have BOTTOM_ALIGNMENT as a data member. BOTTOM_ALIGNMENT=1.0f on my JMenuBar. I strongly suspect...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.