199,114 Archived Topics
Remove Filter ![]() | |
Hi, I have a web service (deployed inside a Sharepoint site - though this is not important). I have a client - windows application where I call the web service to populate a grid & for other purposes like getting Sharepoint document library's fields, etc.,. In the winform's constructor, I … | |
Hi, I'm trying to chage the name of 3 select boxes, I got the input name to change correctly but I'm pulling my hair out with the select boxes. If you check fiddle after cloning the text fields name chages to name="dose_value[a1]", each time it's cloned a number gets added. … | |
int main(int argc, char** argv) { FILE *f; char string[100]; int counter=0; f=fopen("New Text Document.txt","r"); if (f==NULL) { printf("error"); } while(!feof(f)) { fscanf(f,"%c",&string); } fclose(f); for(int i=0;i<100;i++) { if (string[i]=='a') /*doesnt work, why?*/ { counter++; } } printf("\n the number of vowels a is : %d",counter); getch(); return 0; } … | |
Hi to all, I have a problem with ASP.NET in Visual Studio. I made a page that is organised as a table (one part for links, one for content...). How can I select button that is nested in table (in table cell) in Visual Studio in a design view.? Always … | |
I'm coding in visual studio. i have a problem in ConfigureSerialPort function. #include <windows.h> #include <stdio.h> #include <string.h> HANDLE hPort; BOOL WriteByte(BYTE bybyte) { DWORD iBytesWritten=0; DWORD iBytesToRead = 1; if(WriteFile(hPort,(LPCVOID) &bybyte,iBytesToRead,&iBytesWritten,NULL)==0) return FALSE; else return TRUE; } BOOL WriteString(const void *instring, int length) { int index; BYTE *inbyte = … | |
here is what i have to do: take 2 double array of lenght 10 call a and b and return ture if they are equal and flase otherwise; and write a function that take a and b and return and array which store the sum of correspond elemets. can someone … | |
Private Sub btnsave_Click(sender As Object, e As EventArgs) Handles btnsave.Click Dim com As New OleDbCommand() ' Try Dim fs As New FileStream(str, FileMode.Open) Dim data() As Byte = New [Byte](fs.Length) {} fs.Read(data, 0, fs.Length) fs.Close() 'readed image Dim name As New OleDbParameter("namee", OleDbType.VarChar, 50) name.Value = TextBox7.Text Dim address As … | |
how can i multiple barcode image in print preview and print it? here is the code of mine: Public Class Form1 Dim PrintDoc As Printing.PrintDocument = New Printing.PrintDocument() Dim pd_PrintDialog As New PrintDialog Private Sub TextBox1_TextChanged_1(sender As Object, e As EventArgs) Handles txtBarcode.TextChanged picBarcode.BackgroundImage = Code128(txtBarcode.Text, "A") End Sub Private … | |
I have been working on this program i am stuck on and need somw help i am placing the entry into from the main into a pointer array in the Stock class and then assigning the values to the Vehicle class. the thing i am having problems with is accessing … | |
would you just do @Override public boolean contains(T param){ return hashTable[function(param)]!=null; } | |
I am looking for a case study explaining cmmi? The case study could be of any level from 2-5 and for any process development, services and acquistion? For example a case study explaining PMC (project monitoring and control) in level 2 development? Maturity Level 2 - Development CM - Configuration … | |
I want to filter the values in the listview using the date range selected in two datetime picker. Here is my code: Dim reportstring As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\Fe\Desktop\SADsystem\SADsystem\stockroom.accdb;Jet OLEDB:Database Password=stockroom" Dim reportconn As New OleDbConnection Dim date1 As Date Dim date2 As Date date1 = Convert.ToDateTime(DateTimePicker1.Value) date2 = Convert.ToDateTime(DateTimePicker2.Value) … | |
Hi, . Could you please provide me a code sample showing how to load a treelistview from database with hardcoded root nodes on treelistview. I have shared the link below of a sample preview of the tree I am in need of. Rootnodes are hardcoded and I want the child … | |
I know I am probably over thinking this but I cannot seem to figure this out. I am trying to check if the value is null and if not to continue. /** * */ public Item getItem(String theItem) { Iterator iter = myItems.iterator(); while(iter.hasNext()) { Item anItem = (Item) iter.next(); … | |
Hello, I have a form that i would like to convert from JS onClick to AJAX, Here is my form: <form action="" method="post" name="filter"><input id="All" onClick="if(document.forms['filter'].elements['All'].checked)window.location.href='?page=1&filter=All&perpage=10'" name="All" type="checkbox" /><label style="background:#008080; font-size:small" for="All">All</label> <input id="Pending" style="background:#FF6262" onClick="if(document.forms['filter'].elements['Pending'].checked)window.location.href='?page=1&filter=Pending&perpage=10'" name="Pending" type="checkbox" /><label style="background:#FF6262; font-size:small" for="Pending">Pending</label> <input id="Complete" style="background:#7BCC70" onClick="if(document.forms['filter'].elements['Complete'].checked)window.location.href='?page=1&filter=Complete&perpage=10'" name="Complete" type="checkbox" /><label style="background:#7BCC70; … | |
My program doesn't have compile-error but it sometime struck in 201 runtime-error. I don't know why, please someone help me. Here is my program: program TestNumber; uses crt; const fi='D:\program\text\ipTestNumber.txt'; fo='D:\program\text\opTestNumber.txt'; type proint=record len:word; //length of proint. val:array[1..256] of byte; //value of proint. sign:boolean; //is smaller than zero? end; dummy=string; … | |
Hi everyone, I've been taking a Intro to Java class this year and been enjoying it, I recently had a assignment which was a simple dice game, however I was wondering if a few tweeks could be made. 1. Could we ask the user how many dice they want to … | |
Having problem with looging in my server. Before it runs smoothly. While learning this system, I came accross the idea of exploring the contents of Microsoft SQL Server in Program Files. I found some exe files inside and tried to run them with the curiosity of what are those for, … | |
I am trying to replace a bunch of substrings with another bunch of substrings. I've got that working great, but now my code is a mess. This is what I have : void parseChartData(string chartDataString){ if(!chartDataString.empty()){ chartData.clear(); //replaceAll("T44" , "4/4", chartDataString); string s = "*A"; string t = "[A]\n"; string::size_type … | |
Hi all I Currently have a MDI Form that contains a DataGridView. When I open a dialog form as a MDi MdiChildren the dialog form partionly hides behing the Datagridview. (I also tried with a windows form same thing happens). Can any one help me solve this with out having … | |
xhi, my task is to make a script, which displays the string read from console input in the form of 1 letters / line only. my code looks like this so far read string hossz=`expr length "$string"` for i in `seq 1 $hossz` do echo `expr substr $string $i 1` … | |
Hi , Using my search_page.php, I want to know how to search from diffrerent online libraries,databases and websites. How to creat a form to search from Online medical libraries,for example.I use Wordpress as CMS for my website. Any ideas or suggestions are appreciated. | |
okay ive been trying to do this for some time i want my program to randomly select 3 strings from my text file and display them randomly so each time i press 9 on my menu it will display 3 different ones each time and i've already made the array … | |
1-Write a program that prompts the user to input two positive integers (firstNum and secon Num) where the first number should be less than the second (validate your input). The program should output all the numbers and their squares between firstNum and secondNum (inclusive). 2-Write a C++ program which reads … | |
For some reason this is only returning the description of a single item in the HashSet even when there are several items. I am not sure if the (Item)iter.next() is only getting the description of the first item in the list and that is why. /** * */ public String … | |
I'm having an issue mail()ing XML in the ADF format to my CRM tool. In a nutshell, ADF stands for Auto-Lead Data Format ([url]http://www.autojini.com/ADF1_0.pdf[/url]) and is XML based and used by many auto dealer CRMs. The XML will work when sent as an email from Gmail over to the CRM … | |
This is just a piece of code I've found over the Internet, and I'm trying to understand why the output is 3 1 1 2 1 1 2 3. Could anyone explain using a stack representation or something else, I am really stuck on this one. #include <iostream> using namespace … | |
Is there away to limt cftextarea by word not characters? I need to limit my form to 250 words. is there a way to do this? | |
Im creating a form in Coldfusion I need to add an Autosave function. I will like the form to autosave every 30 seconds. Any Ideas? | |
Does anyone know of a job application system that can be used with Coldfusion. | |
I am having trouble adding an item that will increase a player's energy in my BlueJ game. At the bottom of the createRooms() method in my game class I have added several items to rooms. At that point I tried setting boolean newEnergy equal to true. If the player types … | |
hi all i use gecode solver to solve my model ; but i get this error Access Violation when reading of the location 0x0000001c and i don't konw how to fix it here is my code : #include <gecode/driver.hh> #include <gecode/int.hh> #include <gecode/minimodel.hh> #include <iostream> #include <vector> using namespace Gecode; … | |
hello, I'm trying to resolve an issue that is requested to create a game with the same kind of Flow Free. Where I have to create a NxN matrix, which must be greater than or equal to 2 and less than or equal to 7. The size is selected by … | |
can i create 1 template that i use inside the class and not when i create the class object? | |
How do I display images in QListView of size of standard thumbnail size like 250 x 200 , and file nametext should wrap to next line , right now the images displayed are very small and are not positioned under each other in proper row column order. import sys import … | |
I am trying yo create symbolic link on my mac, but when i try to run i get error saying original item searchMethod cannot be found `$ ln -s '/usr/bin/env python ~/Development/python/searchMethod/python/searchMethod.py' searchMethod` | |
I want help in my code ,, the program should search for all words in a string For example , if the string is welcome to pointers world come and see the magic it should print welcome come . Any One can help me to find a way to solve … | |
I am creating a doubly linked list in fortran. Pretty much everything is working correctly. Although, I am having one issue... I build the list properly, but when printed to the screen, I get jumble for the first and last lines. Here is my code DO WHILE (.NOT. quit .AND. … | |
Hi All, I am trying to copy specific files from a share to a local temp folder on a specified date (not yet implemented) The trouble I am seeing is that I am trying to use a wildcard within the files as they have random numbers after set characters to … | |
Hey all, I have the following code that is working fine; basically it finds all files on my desktop and then prints the specific ones that I am looking of. I save all files to my desktop and the files contain the clients name so I figure once a week … | |
iwant to implement an elevator simulator which will emulate the behavior of a system with two working elevators. | |
Hi Dw I was working with VB.NET but then the problem occurred so I decided to change this project to VB 5.0 because that where I can make this program a stand alone executable file, this program will be embedded on a Disc (CD/DVD) so now what I want is … | |
I am creating crystal report in ASP.NET and C#.I am creating a crystal report.All are going fine if I give textbox for search parameter but when I give combobox for search parameter then it does not generate report.Data does not come into DATATABLE.Where I am doing wrong? sql = "select … ![]() | |
my visual basic showing error on spacesplit and sslstream... how to handle? | |
I'm not able to see content on JFrame ,when JFrame shows up. import java.awt.*; import javax.swing.*; import java.awt.event.*; public class GraphicUse extends JPanel { public void PaintComponent(Graphics gr) { super.paintComponents(gr); this.setBackground(Color.BLUE); gr.setColor(Color.WHITE); gr.fillRect(50, 50, 100, 100); gr.setColor(new Color(139,38,190)); gr.fillRect(50, 70, 100, 100); gr.setColor(Color.RED); gr.drawString("This is a new String", 50, 90); … | |
I want to encrypt and decrypt an excel file via RC4 algorithm Obtained a code in c. I want for encryption and decryption of excel file in c#. | |
Hello! Why when I try to save a null value from textbox at sql server 0 is saved? The field type is number. I use an insert query to do that thanx in advance | |
Hi, I am selecting value from one combobox and want to use its value to update the second combobox. but the error is that the second combobox is not showing any value. plz help me. namespace ShopSoftware { public partial class frmSelling : Form { public frmSelling() { InitializeComponent(); } … | |
First of all, I'm a newbie to this forum, so sorry if i'm posting the thread to incorrect place. I ve been trying to search for the usage of function **wpsc_category_image()** (WP e-commerce wordpress plug-in), there were some results but unfortunately I still cannot achieve what I expected. I want … ![]() | |
I have a combobox which is cboUser. In cboUser contains 5 item and have a aseparate password each user1="user1",user2="user2",user3="user3",admin1="admin1",admin2="admin2". All of the items have a password.If the user selects user 1 and the user input the password "user1". Then it goes to another form. What is the code for that? … |
The End.