| |
thread by: stevet |
last post Oct 18 '11 by: stevet
Hi. I can find loads of examples of how to open a com port (serial port) in C# and .NET2.0 and later versions. But I just need a little help doing it with .NET1.1
.NET1.1 has far more limitations than later versions, but I'm stuck using it for this project.
I'm not much of a programmer, and am modifying a large code base to upgrade it. The...
|
thread by: nehpets |
last post Oct 17 '11 by: nehpets
i dont know why there is an error in my code..in the code "app.ActiveDocument.PrintOutOld"...there's an error 'no overload for method..' ..anyone can help me..please?..thanks!
// Create an Application object
Word.ApplicationClass ac = new Word.ApplicationClass();
Word._Application app =...
|
thread by: szmilo |
last post Oct 17 '11 by: szmilo
I've written a Windows application in C# which connects to a MS Access db. I'm using Crystal for reports.
I have no problem viewing my Crystal Reports in the CrystalReportViewer, but when I distribute the db its location will change.
How do I set the database location in the CrystalReportViewer?
|
thread by: JOHNYKUTTY |
last post Oct 16 '11 by: Stefs
i have to convert an image variable(system.drawing.bitmap orsystem.drawing.image or AForge.Imaging.Image) to Emgu.CV.Image type i have used the code below Image<Bgr, Byte> cvimage = new Image<Bgr, Byte>(bmp);
but it is not working but also crashing the program
When i put this code in a try block then it is not crashing.
anyone can help...
|
thread by: Paul Johnson |
last post Oct 15 '11 by: Paul Johnson
Hi,
I seem to have hit a problem when try to drag data from an Access file. I know I can do it as I've populated some combo boxes using pretty much the same code, however, the code below is returning nothing and I cannot see why!
Any help would be appreciated
private void searchInformation(List<string> detail, List<bool> opts)
...
|
thread by: Robin Jain |
last post Oct 14 '11 by: GaryTexmo
I want wildcard character to search Match & March at the same time in indexing service. I am trying it with following query:
Select DocTitle,Filename,Size,PATH,URL,Directory from Scope() WHERE CONTAINS('"Ma*ch"')
Or
Select DocTitle,Filename,Size,PATH,URL,Directory from Scope() WHERE CONTAINS('"Ma?ch"')
But I am not getting any...
|
thread by: Dee Harris |
last post Oct 13 '11 by: Dee Harris
I am using Window 2007, and a non-technical person.
Help! I have tried everything to create tables in the body of my Outlook E-mails. They look find as they are typed, but the receipient gets columns unaligned in disarray.
Thank You,
dmh
|
| |
thread by: Sixx |
last post Oct 13 '11 by: GaryTexmo
Trying to CLEAR the Table "login" on closing of the form...
public void remTempData()
{
string delete = "DELETE * FROM login";
SqlCommand rMove = new SqlCommand();
rMove.Connection = access;
rMove.CommandType = CommandType.Text;
rMove.CommandText = delete;
...
|
thread by: franknagy |
last post Oct 13 '11 by: GaryTexmo
Gentle list members,
I have started to type in and modify according to my taste the examples in a tutorial of C# .
I use Visual C# 2008 Express Edition.
I have put the first two exercises as Projects in the same Solution. The problem is that I have to mark and unmark again and again which is the executable project.
I want to share e. g. the...
|
thread by: Oli Kai |
last post Oct 13 '11 by: Oli Kai
I got a problem with HTTP Requests.
Here is the POST Request I want to get the respond to:
<div id="tabs-2">
<div class="form" id="upload_form">
<p>Please select a container file to upload.</p>
<form action="/decrypt/upload" method="post" enctype="multipart/form-data">
<fieldset>
...
|
thread by: Nathan ODowd |
last post Oct 13 '11 by: Nathan ODowd
Hi, i'm currently working on a project and I've hit a little snag. I have a list box which adds file paths from a directory, what i want to know is how to output the selected path in the list listbox to a string. Which would then be used to change the url of an image.
Note, all the files viewed in the list box are .jpg
|
thread by: kolinhar1 |
last post Oct 13 '11 by: kolinhar1
I have developed a visual studio 2008 / C# / access 2000 application on XP professional this works fine. I am now testing on a vista home basic machine (both machines are 32)
The application is installed on both the XP Professional and Vista Home Edition machines.
I am getting the error message 'Unhandled exception has occurred in your...
|
thread by: Dan Effets |
last post Oct 13 '11 by: Dan Effets
Hello,
I am working on a project in my C# book
Tranfer Textbox to Combo,
Combo to Text,Textbox to list ,but I cant listbox
to go to Combo.Instead of the word , it puts (collection)
StatesListBox.Items.Remove(StatesListBox.SelectedItem);
StatesComboBox.Items.Add(StatesListBox.SelectedItems);
|
thread by: tmccar |
last post Oct 12 '11 by: tmccar
long A1Ptr;
dictPropId.TryGetValue("A01", out A1Ptr);
PropDefInfo A01PropDef = GetPropertyDefinitionInfosByEntityClassId("FILE",A1Ptr.ToSingleArray());
A01Valid = A01PropDef.ListValArray;
I am getting 2 errors in this segment of code, whcih is meant to access content from a "pick list".
1. "dictPropId", "A01Vaild" and "A01PropDef"...
|
thread by: JeepRubicon |
last post Oct 11 '11 by: JeepRubicon
Hi all,
I've been fighting this problem for some time now and am hoping someone can help. I'm converting a VB6 application to C#. Everything I'm about to show works perfect in VB6, but fails in C#.
I'm making an API call into a C dll, passing a structure. The structure gets values modified in the C side and I should see the modified...
|
| |
thread by: tmccar |
last post Oct 11 '11 by: tmccar
namespace HelloWorld
{
public class VaultFormsCmdExt : IExtension
{
public MyCustomTabControl tabControl;
public static PropInst fileProperties = new PropInst { null };
|
thread by: manvi manik |
last post Oct 11 '11 by: manvi manik
I am fetching the question in DetailView. but in Page_Load its giving the runtime error "the Input String is not in a proper format. the code is as below.:
<%@ Page Language="C#" Debug="true"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server"> ...
|
thread by: Brian Connelly |
last post Oct 10 '11 by: john garvey
Hello,
I am building a simple application that after contestants enter their information and submit, a Message box appears and confirms their entry. I have an okay button, but if they walk away, I want to timeout and close the message box after lets say 4 seconds. This is a a simple windows form. Can someone help explain what I need to do?
|
thread by: jugnu prakash |
last post Oct 10 '11 by: jugnu prakash
sir,
i use gridview where all date are retrieve from sql database,i use templete field and there is two textbox , i want when we change the value of textbox which is inside a gridview the value is changed when we click the save button...........
plese help me
page load event
if (!IsPostBack)
{
string query =...
|
thread by: maheshwag |
last post Oct 9 '11 by: maheshwag
I have a Crystal Reports Loading issue in C#-2005 and I have google for it and found in most of case that to initialized a Crystal Reports it takes times for creation their assemblies and object.
I have not found any genuine solution for it.
My reports take a minute to load the reports and it’s not good sign for my project.
Is there a...
|
thread by: Paul Johnson |
last post Oct 8 '11 by: Paul Johnson
Hi,
I have a simple winform which creates has in it a NumericUpDown, two group boxes and two buttons. The code then dynamically inserts a number of NumberBox objects into one group box and a pile of labels into the other.
(A numberbox is just an overloaded TextBox - details are at http://www.all-the-johnsons.co.uk/csharp/numberbox.html)
...
|
thread by: shanmuga mani |
last post Oct 8 '11 by: shanmuga mani
hi
i am very new to progrmming i do not know how to register the channel in the server to connect the datebase.
it is showing the error in the line
TcpChannel channel = new TcpChannel(12000);
|
thread by: TronicBrain |
last post Oct 8 '11 by: TronicBrain
I'm using extern keyword to use function in C++ unmanaged DLL
one of the function parameters is const unsigned char *var,
I tried to pass that parameter as a string , Byte array but that was useless.
Would you please help me to find the correct data type to pass that parameter?
static extern int RequestData(int comm_type, int...
|
| |
thread by: Tom D |
last post Oct 8 '11 by: Tom D
I have a C/C++ DLL that CANNOT use managed C++ because my DLL is being injected into processes I do not own. I need to make an API call, but have to do it through IPC to another process. My DLL cannot call the API directly. We are currently using a COM server to achieve this but has proven to be unreliable when multiple users are logging into the...
|
thread by: aj 86 |
last post Oct 7 '11 by: aj 86
hi guys,
I am back again with another doubt. I am developing a browser using web browser control and i keep my bookmarks stored in DB not in xml. My system have more than one user and each user will have different bookmarks. I got to load the bookmarks in toolstrip when one user opens the browser ,now i need that buttons to act as hyperlinks....
|