199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chnswam

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 …

Member Avatar for Angel Armando
0
827
Member Avatar for Annuscha

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. …

Member Avatar for JorgeM
0
202
Member Avatar for castajiz_2

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; } …

Member Avatar for deceptikon
0
151
Member Avatar for aldm

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 …

Member Avatar for JorgeM
0
268
Member Avatar for Quân

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 = …

Member Avatar for Ancient Dragon
0
523
Member Avatar for chubbyy.putto

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 …

Member Avatar for chubbyy.putto
0
210
Member Avatar for sushilsth

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 …

Member Avatar for deceptikon
0
175
Member Avatar for harisybsy

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 …

Member Avatar for deceptikon
0
454
Member Avatar for Capi

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 …

Member Avatar for gerard4143
0
154
Member Avatar for Pyler

would you just do @Override public boolean contains(T param){ return hashTable[function(param)]!=null; }

Member Avatar for JamesCherrill
0
220
Member Avatar for Sanjay_6

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 …

Member Avatar for sebastianedu
0
226
Member Avatar for Rosalyn_1

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) …

Member Avatar for G_Waddell
0
845
Member Avatar for rahulkrishnanr

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 …

Member Avatar for sebastianedu
0
109
Member Avatar for Derek_4

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(); …

Member Avatar for sebastianedu
0
298
Member Avatar for patk570

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&amp;filter=All&amp;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&amp;filter=Pending&amp;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&amp;filter=Complete&amp;perpage=10'" name="Complete" type="checkbox" /><label style="background:#7BCC70; …

Member Avatar for Airshow
0
489
Member Avatar for Gà_1

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; …

Member Avatar for pritaeas
0
155
Member Avatar for nathan.pay.9

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 …

Member Avatar for nathan.pay.9
0
473
Member Avatar for Lethugs

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, …

Member Avatar for Lethugs
0
326
Member Avatar for sarah.mathieson.7

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 …

Member Avatar for sarah.mathieson.7
0
166
Member Avatar for VIPER5646

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 …

Member Avatar for VIPER5646
0
351
Member Avatar for zortar

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` …

Member Avatar for zortar
0
301
Member Avatar for AAAA23

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.

Member Avatar for AAAA23
0
127
Member Avatar for dean.n.harris

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 …

Member Avatar for ObSys
0
227
Member Avatar for Ms.toumi

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 …

Member Avatar for ObSys
0
155
Member Avatar for Derek_4

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 …

Member Avatar for JamesCherrill
0
228
Member Avatar for dealerit

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 …

Member Avatar for cbenedict
0
1K
Member Avatar for jackslv

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 …

Member Avatar for jackslv
0
235
Member Avatar for yankeefan24

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?

Member Avatar for danarashad
0
341
Member Avatar for yankeefan24

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?

Member Avatar for danarashad
0
332
Member Avatar for danarashad
Member Avatar for danarashad
0
284
Member Avatar for Derek_4

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 …

Member Avatar for Derek_4
0
328
Member Avatar for manel1989

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; …

Member Avatar for Ancient Dragon
0
627
Member Avatar for fsrgio

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 …

Member Avatar for fsrgio
0
155
Member Avatar for cambalinho

can i create 1 template that i use inside the class and not when i create the class object?

Member Avatar for mike_2000_17
0
157
Member Avatar for krystosan

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 …

Member Avatar for krystosan
0
2K
Member Avatar for krystosan

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`

Member Avatar for rojomoke
0
474
Member Avatar for laila_2

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 …

Member Avatar for laila_2
0
843
Member Avatar for tensity

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. …

Member Avatar for tensity
0
471
Member Avatar for AquaNut

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 …

Member Avatar for tinstaafl
0
2K
Member Avatar for Craig_2

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 …

Member Avatar for Craig_2
0
409
Member Avatar for hobaa414

iwant to implement an elevator simulator which will emulate the behavior of a system with two working elevators.

Member Avatar for abdul.mudaser
0
1K
Member Avatar for Mr.M

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 …

Member Avatar for Begginnerdev
0
295
Member Avatar for Kanshika

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 …

Member Avatar for Rahul47
0
707
Member Avatar for Sara_5
Member Avatar for Ketsuekiame
0
185
Member Avatar for chdboy

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); …

Member Avatar for JamesCherrill
0
229
Member Avatar for thrisha

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#.

0
126
Member Avatar for skran

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

Member Avatar for Vinamra_1
0
355
Member Avatar for Obaidullahrafiq

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(); } …

Member Avatar for M.Waqas Aslam
0
175
Member Avatar for Tu Dinh

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 …

Member Avatar for diafol
0
169
Member Avatar for SKBrendyll

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? …

Member Avatar for M.Waqas Aslam
0
212

The End.