- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 4
- Posts with Downvotes
- 3
- Downvoting Members
- 3
27 Posted Topics
My OS is windows 7. Can somebody please teach me how to configure squid in this kind of scenario. I have a filezilla ftp server running in 127.0.0.1:14147 I want to make a proxy server (eg. 10.191.16.5) where in when somebody want to uplaod a file to my filezilla ftp … | |
Re: EDIT [ICODE]Module1.setConnectProc Set globRSrecordset = New ADODB.Recordset globRSrecordset.Open "SELECT * FROM table_name WHERE BkTitle='" & Trim(txtTitle) & "'", strVar, adOpenKeyset, adLockOptimistic With globRSrecordset If Not .EOF Then !BkTitle = txtTitle !Author = txtAuthor !BkRefNo = Val(txtBkRefNo) !TrnDate = txtDate MsgBox "Record Updated!", vbInformation, "Updated Existing Record" .Update .MoveLast End If … | |
I have an image view in my android application. I want to set the picture dynamically from a link. Example: The user has an id number of 0920305 The image from http://teachers.usls.edu.ph/student_pics/0920305 will appear on the image view. | |
What are the differences and similarities of JAX-WS and JAX-RS? | |
I have a JSP with a button. This button is disabled. How can I make the JSP keep on reloading until isCheck becomes true and it will make the button enabled? Here is my javascript: var usbAvailable = <%=CheckUSB.getInstance().getStatus()%>; function confirmSound(){ HyPAS.Sound.confirm(); HyPAS.LED.on(); location.href='ScanJobServlet' } function checkUSB(){ <%response.setHeader("Cache-Control","no-cache");%> if(usbAvailable==false) { … | |
I have a JSP file and I want to get the value of the input text and send it to a java class. How can I do it? <form name="boxSettingForm" action="/ScanToBox/ScanJobServlet" method="post" > <div style="height: 417px; width: 790px; background-color: #ffffff; margin-left: 0px; margin-top: 0px;"> <div style="height: 116px; "> <br><input id="boxName" … | |
I installed squid proxy server for windows. I want to connect to the FTP server via proxy. Can somebody provide me the proper configuration for both squid and filezilla? | |
Here is my code. unametxt = textBlock1.Text; passtxt = textBlock2.Text; WebClient webClient = new WebClient(); webClient.BaseAddress = "http://students.usls.edu.ph"; webClient.Credentials = new NetworkCredential(unametxt, passtxt); webClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(client_DownloadStringCompleted); webClient.DownloadStringAsync(new Uri("http://students.usls.edu.ph")); After connecting, the source code is downloaded and saved to a string variable. public void client_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e) { data … | |
This code is a java code. Can you please help me convert this to c#? private static URL URLObj; private static URLConnection connect; static String source = ""; public static void main(String[] args) { try { URLObj = new URL("http://students.usls.edu.ph"); connect = URLObj.openConnection(); connect.setDoOutput(true); } catch (MalformedURLException ex) { System.out.println("The … | |
My application won't run anymore in my tablet and I don't know why. It runs fine in the emulator. public class TestingActivity extends Activity implements OnClickListener { /** Called when the activity is first created. */ String uname, pass, pic; EditText txtUname, txtPass; Button login; TextView result, tview2, tview3; String … | |
How can I remove unwanted texts in a textview in android. Example: The textview contains this: <div id="userbar-container" align="center"> <div class="fixed-width"> <div id="control-panel"> <ul> <li>Logged In As: <a href="/members/834075/pmark019">pmark019</a></li> <li><a href="/members/edit_profile">Edit Profile</a></li> <li class="highlight"><a href="/messages/received">Private Messages (2)</a></li> <li><a href="/members/articles/watching">Watched Articles</a></li> <li><a href="/community/rules">Member Rules</a></li> <li><a href="/members/logout">Log Out</a></li> </ul> </div> I want … | |
ProgressBar loading; Button login; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); loading=(ProgressBar)findViewById(R.id.progressBar1); login=(Button)findViewById(R.id.button1); } public void loginAuthenticate(View view) { loading.setVisibility(View.VISIBLE); login.setVisibility(View.INVISIBLE); Log.v("EditText", uname = txtUname.getText().toString()); Log.v("EditText", pass = txtPass.getText().toString()); initControls(); } The initControls() is a function that connects to a website and sends login information. I want to display the … | |
This is the XML <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/RelativeLayout1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/login" android:gravity="center_horizontal" android:orientation="vertical" > <ScrollView android:id="@+id/ScrollView01" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:isScrollContainer="false" android:layout_alignParentTop="true" > <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TextView" /> </ScrollView> <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" android:layout_marginBottom="129dp" android:background="@drawable/bg" android:onClick="loginAuthenticate" android:text="Login" android:textColor="#FFFFFF" /> <EditText android:id="@+id/editText2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/button1" android:layout_centerHorizontal="true" android:layout_marginBottom="76dp" … | |
This is originally a Java code. I tried to convert it for Android. In my XML I have a textbox. The text.setText is supposed to write the output to the textbox, but nothing is appearing. private static URL URLObj; private static URLConnection connect; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); … | |
Example: A website contains 2 textbox with names Username and Password. I am planning to make those textbox appear in the application and if I input a value in those textbox, it's like I am inputing value to the website itself. Is there any way for me to do that? | |
Is it possible to send the content of a textbox in an android application to the textbox of a website?... Example: I have IDNo and Pass as textbox in my application. There is also a log.in button. If i press the login button, the content of IDNo and Pass will … | |
I am wondering if there are criteria that I can use as basis to know that the application works in versions 2.2 and 3.0 of android os? Like for example, *It can be installed *The response time is fast *It supports the screen resolution... | |
[ICODE] Private Sub cmdAddCart_Click() Module1.toConnectProc Set globRSRecordset2 = New ADODB.Recordset globRSRecordset2.Open "SELECT * FROM tblBooks, tblTemporary WHERE tblBooks.Title = '" & Trim(Me.txtTitle) & "'", strVar, adOpenKeyset, adLockOptimistic With globRSRecordset2 .AddNew tblBooks.ISBN = tblTemporary.ISBN tblTemporary.UserID = ID !DateReserve = Date !Notes = "Fair" MsgBox "Added to Cart", vbInformation, "Add to Cart" … | |
[CODE] #include <iostream> #include <sstream> using namespace std; int main() { int a, b; string s = "34:22"; istringstream ins; ins.str(s); ins >> a >> b; cout <<a <<b; } [/CODE] This is my code and I want to ignore the ":" in string s. The outpout should be 3422. … | |
I want to make a rating system in vb6 that has stars like here: [url]http://www.imdb.com/title/tt1217613/[/url]. Is there any add-on available for vb6 that will allow me to make this kind of rating system? | |
What is wrong with this code of mine? [CODE]Private Sub btnPlus_Click() If counter = 0 Then savedNumber = Val(txtNumber) counter = 1 End If If counter <> 0 Then value = Val(txtNumber) End Sub[/CODE] [CODE]Private Sub btnEquals_Click() result = Val(savedNumber) + Val(value) txtNumber.Text = CStr(result) End Sub[/CODE] [CODE]Private Sub btnThree_Click() … | |
How can I use SQL Statements in VB 6 with DataEnvironment. I have a DataEnvironment called Table(DataEnvironment2.Dsr) and a report named rptStudMastOne(rptStudMastOne.Dsr). I am planning to use the SQL Statement " SELECT * FROM Student WHERE StdSSN = txtStdSSN " and it will show in the report the record that … | |
I have a problem with counting the number of input lines and the number of operands. Can someone please tell me what is wrong?... When my input is : System.out.println("\n\nReserved Words: " + ReserveWords); System.out.println("Unique Reserved Words: " + UReserveWords); The number of lines is 11 and I don't know … | |
I want to count the number of lines that are inputed in my program but I don't know how. Can someone please help me. Here's my code: [CODE]import java.util.*; import java.lang.*; import java.io.*; public class Exer6 { public static void main(String args[]) { String[] dummy1, dummy2, dummy3, dummy4, dummy5; String[] … | |
How can I read multiple line inputs? I want to create a program that will ask a user for a program code and it will count all the reserve words used in the program. Every time I copy and paste a code for the input, it only reads the first … | |
[CODE]import java.awt.*; import javax.swing.*; import java.text.NumberFormat; import javax.swing.JFormattedTextField; import java.awt.event.*; import java.text.*; public class Database extends JFrame { private JSplitPane splitPaneV; private JSplitPane splitPaneH; private JPanel panel1; private JPanel panel2; private JPanel panel3; private int X1, X2, X3, X4, X5, Y; private JLabel gradeL, equivL; private JFormattedTextField gradeTF, equivTF; private … | |
[QUOTE]I am trying to make my program look like the image I attached but I don't know how to. I can't make the JTextFields positioned like that.[/QUOTE] [QUOTE]I also want to make it a JScrollPane instead of JPanel[/QUOTE] [CODE]import java.awt.*; import javax.swing.*; import java.text.NumberFormat; import javax.swing.JFormattedTextField; import java.awt.event.*; import java.text.*; … |
The End.