4,588 Topics

Member Avatar for
Member Avatar for BradenMurphy

Heya, I would like to know how to pass a packed record in delphi into a C# dll procedure. Any ideas?

Member Avatar for BradenMurphy
0
98
Member Avatar for MervinKoops

Hello, i'm building a server application in C#.net which connects to a MySQL server via ODBC/Connector 5.1 .Net If a execute a query it works but when i try to exectute a query after waiting a while (ex. 5 minutes) i get an error which says: "The connection has been …

Member Avatar for MervinKoops
0
1K
Member Avatar for csharplearner

Hello all, I am trying to connect to sqlserver on godaddy but facing so much trouble with the connection strings. I wanted to use C# but wasnt successfully in making a connection. when i simply copy-pasted their vb-script connection strings sample.. it worked. I tried to modify vb to c# …

Member Avatar for jerry32uk
0
434
Member Avatar for Tank50

Hi I created C# project ,but there is problem,the problem is if I click on close button in right side upper corner in windows application while program is running ,then it's close,but I cant compile it in second time because its giving error massage "your Test10.Exe is already running",but there …

Member Avatar for sknake
0
151
Member Avatar for Clawsy

As some of you know, there is a COM reference library called 'YahooMessengerLib'. What I have done with it until now was: - Login with user and password - Logout YM must be started for use to use this library. YahooMessengerLib has a lot of interfaces but I don't know …

Member Avatar for Clawsy
0
143
Member Avatar for hotriver

I have to open a log file created by c++, which is 4G in size. I want to read it from C#, but FileStream.Read uses int as offset, that means I can not read bigger than 2G. I believe C# should have a solution for it. How can I read …

Member Avatar for hotriver
0
104
Member Avatar for amadaeliseo

hola, I really need your help on this. I tried to do k-way merge sort in c# and finally I ended with this: [CODE] public ArrayList MergeSort ( ArrayList arrIntegers ) { if (arrIntegers.Count == 1) { return arrIntegers; } ArrayList arrSortedInt = new ArrayList(); int middle = (int)arrIntegers.Count/2; ArrayList …

Member Avatar for amadaeliseo
0
116
Member Avatar for chriscross86

Hi, I am coming up with a calendar.I am using ASP.net with C#.I am having using a .ascx file format. i am getting an error on the 10th line. it shows CS1001:identifier expected. i am not sure of what to do. Please guide me of my mistake. im using Visual …

Member Avatar for dnanetwork
0
315
Member Avatar for kspriya01

Hi, I want datagridview in windows application(C#.net), type in "this is the first line allows the 50 char", if you press "letter" and type "this is the second line", the current cell and go to the cell right below it. What I want is, when I press "letter" and type …

Member Avatar for kvprajapati
0
142
Member Avatar for niketan

Hello, How can I define fixed size of structure in c#.. e.g. [code] struct xyz{ char localc[12]; short localshort; }; I had made a c# structure like this [StructLayout(LayoutKind.Sequential, Pack = 2,CharSet=CharSet.Ansi, Size = 14)] struct xyz{ [MarshalAs(UnmanagedType.ByValArray, SizeConst = 12)] public char[] localc; short localshort; } xyz abc = …

Member Avatar for kvprajapati
0
301
Member Avatar for djzmo

Hello, I'm looking for a way to pause or resume an upload process via C#'s WebClient. pseudocode: [CODE] WebClient Client = new WebClient(); Client.UploadFileAsync(new Uri("http://mysite.com/receiver.php"), "POST", "C:\MyFile.jpg");[/CODE] Maybe something like.. [CODE]Client.Pause();[/CODE] any idea?

Member Avatar for sknake
0
109
Member Avatar for jonnytabpni

Hey folks, I've been reading: [url]http://www.codeproject.com/KB/IP/cs_remoting.aspx[/url] Now, I havn't actually done anything in the article yet however a question springs to mind. I have an app that has non-decoupled UI and business stuff (probably not the best). In time, I would like to make this app run on a "Software …

Member Avatar for sknake
0
132
Member Avatar for IntegrityWebDev

Hello all...my first official post (after the introduction) I'm relatively new in the area of C# (some PHP experience) and I'm hoping someone can help me. I have 2 arrays of variable lengths, with int data in them. Something like this: FreeNumbers = 1,2,3,4,5 UsedNumbers = 1,2 I want to …

Member Avatar for IntegrityWebDev
0
111
Member Avatar for Corner

I am developing a program that will be running on a server that another program, running on terminals somewhere else on the network, will be sending files with their status in some format (current I was thinking xml). Then my program will have to take the data and store it …

Member Avatar for sknake
0
72
Member Avatar for kspriya01

Hi, I want datagridview in windows application(C#.net), type in "this is the first line allows the 50 char", if you press "letter" and type "this is the second line", the current cell and go to the cell right below it. What I want is, when I press "letter" and type …

Member Avatar for ddanbe
0
261
Member Avatar for h.liang

Hello, I am working on a project where I need parameters to be sent between multiple programs. So to briefly summarize the background of my project: I made a application using c# that will take in some data from an Excel file and do some calculations to return a value, …

Member Avatar for Ramy Mahrous
0
104
Member Avatar for CSharpant

Hi, We are into Reports development using C# and PDF Library (for front end). The development is done in Visual studio 2005/2.0 framework. Now since the production has 1.1 framework, I was asked to "downgrade" to VS 2003. The problem is we have Tuple/generics in 2.0. After I recreated the …

Member Avatar for Ramy Mahrous
0
225
Member Avatar for ejazmusavi

Hi Every one! i have a data gridview consisting of four column [B]total_time,Start_time,End_Time,Day[/B] all are of [B]date/time[/B] data types. i want to add the first to columns [B]Total_Time[/B] and [B]Start_Time[/B] and show the result into third column [B]End_Time[/B] and the coresponding day in the fourth column [B]Day[/B]. the[B] total_Time[/B] may …

Member Avatar for ejazmusavi
0
108
Member Avatar for xavierantony

I am just learning C# how to clear a cmd line after wrong entry like wrong user name or password in C sharp? my codes here, have a look thanks ---------------------------------------- [code=csharp] using System; using System.Collections.Generic; using System.Text; namespace DisplayLogin { class Program { static void Main() { Console.WriteLine("________________________________________________"); Console.WriteLine(""); …

Member Avatar for sknake
0
2K
Member Avatar for sachintha81

I have two forms, namely MainDataForm and JobForm. In MainDataForm I have a text box named txtJobID which contains a certain job ID. There I also have a button - btnNewJob, if clicked opens the above said JobForm. Now, on JobForm there is another text box named txtNewJobID and when …

Member Avatar for sachintha81
0
137
Member Avatar for Cman2020

Hello guys this is kind of crazy to ask but i need to know where to locate sqlDataAdapter, sqlConnectio, and datagrid i have looked all the tookbox all i have under data: is datagrdview,dataset, blindingnavigator, pointer, and bindingsource do anyone know where to find the listed item above please and …

Member Avatar for Ramy Mahrous
0
124
Member Avatar for gouki2005

because C# have a LOT of Concepts I am kinda confused......what kind of advice can you give me to learn C#???I have the bases I think.....well kinda....

Member Avatar for 3xxx
0
152
Member Avatar for brainbox

hi I am badly stuck with inserting and retrieving Date in SQL DB from C#. I have a C# application which needs to save date in SQL 2008 Database for various purposes. The format in DB is DateTime for my DateColumn and i am using Datetime Picker in my c# …

Member Avatar for brainbox
0
661
Member Avatar for Diamonddrake

does anyone know anything about oAuth? I can't find a dot net example that works. and the very little documentation on it is way over my head. I'm just trying to add a secure way to update twitter in the client I'm messing around with. But I can't seem to …

0
50
Member Avatar for floodemo

what does this code mean/do? Rectangle[] rects = new Rectangle[] { new Rectangle(8,8,119,86), new Rectangle(127,8,119,86), new Rectangle(246,8,121,86), new Rectangle(8,94,119,90), new Rectangle(127,94,119,90), new Rectangle(246,94,121,90), new Rectangle(8,184,119,88), new Rectangle(127,184,119,88), new Rectangle(246,184,121,88) }; formGfx.DrawRectangles(pen, rects);

Member Avatar for ddanbe
0
83
Member Avatar for pradeepvmca

I need to call a SQLSERVER 2005 DTS package from my windows service which was developed using C#.Net. please help me with source code

Member Avatar for Ramy Mahrous
0
79
Member Avatar for Ruan RT

Hi All I am new to C# language and would like to know where I can get my hands on some good examples of C# in Revit. I am not a genies in programming so I will possibly need a book for C# programming for dummies :-) Any information would …

Member Avatar for Ramy Mahrous
0
106
Member Avatar for JurieBurie

PDF virtual printer in c# Hi All I have a small project that someone asked me to do for them and am struggeling quite a lot to get started. Could someone please steer me in the right direction. Here are the requirements: When you are in app such as word/excel, …

0
51
Member Avatar for niketan

I am trying to convert my c structures to c# structures. I am facing one problem as character is one byte representation in c and two bytes in c#. How to construct xyz structure with character having one byte??

Member Avatar for ddanbe
0
3K
Member Avatar for NetGD

Hello, I am am trying to get a ListView to populate based on an xml file. to acheive this I would like to use the DataTable. this is my XML file: [CODE]<?xml version="1.0"?> <main> <person> <id>1</id> <name><first>Joe</first><last>Blow</last></name> </person> </main>[/CODE] And the C# that I am using to read it: [CODE]public …

Member Avatar for kvprajapati
0
1K

The End.