24 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for IconKana

Hello fellow earthlings. Using VB6, I want to write a MENU program that executes exe files, or executes dll files. The MENU file should have a function that sends a parameter to A.exe, or B.dll as an example. If A.exe or B.dll received the parameter from the MENU, then they …

0
153
Member Avatar for kipslem

Hello, My sincere apology, I have been posting almost 4 questions now where I have received 2 answers being solved. These are simple questions which any one familar with VB.Net can solve easily. Please understand, I'm a newbie to VB.Net. Now my next issue is; I have a a form …

Member Avatar for Reverend Jim
0
3K
Member Avatar for borgasia

Can't get this work properly: FormatRange(ref ws.Range[curRange.Offset[1, 0] , gives A property or indexer may not be passed as an out or ref parameter Any help would be thankfull public static void WriteDetailData(ref Worksheet ws, string type, ref int row, int col, Hashtable parts, Hashtable refList) { Range curRange = …

Member Avatar for borgasia
0
4K
Member Avatar for ZER09

I tried to create a context menu for a griedview and when i test it it works greacefully private void gridView1_PopupMenuShowing(object sender, DevExpress.XtraGrid.Views.Grid.PopupMenuShowingEventArgs e) { ContextMenu c = new ContextMenu(); DevExpress.XtraGrid.Views.Grid.GridView view = (DevExpress.XtraGrid.Views.Grid.GridView)sender; DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo HitInfo = view.CalcHitInfo(e.Point); if (HitInfo.InRow) { view.FocusedRowHandle = HitInfo.RowHandle; c.MenuItems.Clear(); c.MenuItems.Add("sample", sampsss); c.MenuItems.Add("sample", sampsss2); c.Show(view.GridControl, …

Member Avatar for Merletyco
0
384
Member Avatar for while(!success)

Hey guys, I am trying to dynamically parametize my url, but it gets lost and I have no idea why. Perhaps some insight from you guys will help. Here's the code: while($row = mysql_fetch_assoc($getID)) { echo "<tr>"; echo "<td><a href='View.php?id='" . $row['ID'] . "'>" . $row['ID'] . "</a>" . "<br …

Member Avatar for while(!success)
0
402
Member Avatar for ryan311

I always getting this error in my dropdownlistfor: Value cannot be null. Parameter name: items View code: @Html.DropDownListFor(model => model.SiteId, new SelectList(ViewBag.ListSiteClass, "SiteId", "SiteName"), "", new { @onchange = "GetSiteid(this.value);" }) Controller Code: [HttpPost] public ActionResult Create(ServiceDTO ms, FormCollection form) { if (ModelState.IsValid) { int sid = ms.SiteId; ServiceDAO.Insert(sid); } …

Member Avatar for ryan311
0
12K
Member Avatar for it@61@sec

I have a bash script (test.sh) which reads parameters from the command line. The parameters could look like this: param1 param2 param3&ext param4 param5 The problem is that when the script reads the parameters and then echo them I get the following: param1 param2 param3 No command 'ext' found did …

Member Avatar for it@61@sec
0
967
Member Avatar for James19142

in this program i'm writing the functions that have qt classes as parameters Qlabel, QSpinbox, etc. are causing compile errors, my other functions work fine i get the same 2 errors for each QT object i use as an argument this is the function definition that uses QT classes as …

Member Avatar for James19142
0
362
Member Avatar for efth

Let's say I have a method called 'test' which should return the arraylist called 'theList' containing X number of Integers. How would I do that? public static void test(){ SOME CODE ... return theList } What should 'void' and 'theList' be replaced with in that code to make it work?

Member Avatar for efth
0
307
Member Avatar for rahul.ch

import java.util.*; public class GenericDemo4 { public static void main(String r[]) { Set s1 = new HashSet(); s1.add(0); s1.add("1"); dostuff(s1); } static void dostuff(Set<Number> s) { do2(s); Iterator i = s.iterator(); while(i.hasNext()) System.out.println(i.next() + " "); Object [] oa = s.toArray(); for(int x = 0; x<oa.length; x++) System.out.println(oa[x] + " …

Member Avatar for rahul.ch
0
299
Member Avatar for Dendei

Hello, i am programming an API so far i've coded so i can create new customers but my taughts here is that i have a function (i think that is the right word for it) public void writeCustomer (string CustomerNumber, string CustomerOrgNumber, string CustomerName, string PostAdr, string PostAdr2, string GLN, …

Member Avatar for Dendei
0
246
Member Avatar for angel06

Hello everybody! I'm currently creating my first employee monitoring system here in Visual Basic 6. I have a problem with regards to my program, it has an error of no value given for one or more parameters. The code that I will show here is just a part of my …

Member Avatar for AndreRet
0
322
Member Avatar for rpv_sen

Hi Friends **Example:** URL: http://localhost/sitename/page=name i want to print **name** in my page. like You Are Here: Home » **name** Please can any one help me.

Member Avatar for rotten69
0
240
Member Avatar for easterbunny

Hi i got a problem with this code( attached below ) the fuction that receves the bidimensional array doesn't seem to work.I've tryed to cout in main() and it works.WHY???? The program doesn't show me any error whatsoever. #include<iostream> #include<string> #include<fstream> using namespace std; void afisare(int h[3][3],int nrEle){ for(int i …

Member Avatar for easterbunny
0
855
Member Avatar for Ntropy

Hello there java gang. I've written a program which basically checks the dates that i have written for the program in question and then validates it against a set of rules, using arrays to ensure that what a user enters is valid. So for example, you can have 1,(day) 5,(month), …

Member Avatar for JamesCherrill
0
236
Member Avatar for iefilec

hi. i'm doing a search option in my system where if your searching for a entry even if you didnt typed the whole word, all of the entry that contains the letters that you have typed will appear, well i really cant explain it but it goes like this if …

Member Avatar for Mitja Bonca
0
251
Member Avatar for TimBob12

Hi there, I am fairly new to C++ and wanted to have a go at coding my own function with parameters. However some of the parameters are arrays and I get strange errors occur. I will comment my code with a couple of other questions as well. I am writing …

Member Avatar for TimBob12
0
198
Member Avatar for pritaeas

I'm in the process of converting a legacy app from D5 to D2009. I'm getting errors on AnsiToNative, NativeToAnsi (both DBTables) and DbiOpenSPParamList (BDE). Apparantly the parameters for these functions have changed. Does anyone here have a ready example on how I should use these in D2009 ? I was …

0
103
Member Avatar for jlivvers

Hi, I have a windows form that adds new entries to a dataset via a datagrid using the updateAll method. Im passing in an id from another form and id like to specify this in the sata thats being written to the dataset. So by default the id would already …

Member Avatar for Mitja Bonca
0
171
Member Avatar for lordbaddkitty

I'm trying to LINQ two tables based on a dynamic key. User can change key via a combo box. Key may be money, string, double, int, etc. Currently I'm getting the data just fine, but without filtering out the doubles. I can filter the double in VB, but it's slooooow. …

Member Avatar for lordbaddkitty
0
272
Member Avatar for DeadLikeMe

Hi, i have a problem with this code. I wanted to add the values of the parameters at the beginning to the URL entered in the code. i already tried confirmation.php?username=$username added the ?username=$_GET[username] but the Url in the browser is displayed like it's written in the php file and …

Member Avatar for DeadLikeMe
0
188
Member Avatar for crapgarden

Is this: A)[CODE]while (!isLegal(move, board))[/CODE] the same thing as: B)[CODE]while (isLegal(move,board) = !!)[/CODE] ?

Member Avatar for crapgarden
0
143
Member Avatar for Kingcoder210

I need to know how can I get specific record there in report by passing string parameter from vb.net to crystal reports? For example - I have text box, button & crystalreportviewer there in my form. When user will use it he will write specific word there in the text …

Member Avatar for Extremist-smj
0
446
Member Avatar for trantran

This is likely a stupid question, but I can't figured out by myself how to pass a pointer to a member function of a templatised class in its own template parameters. More clearly: I would like to have this to work out: [code]template <typename T, T test::* PtrToMember> class test{ …

Member Avatar for trantran
1
555

The End.