|
hi
i try to run my Program on PPC and i get this error:
Can't find PInvoke DLL sqlceme53.dll
what can it be ?
|
|
|
|
|
It must surely mean you're missing SQLCEME53.dll on your machine?
p.s. next time, use a specific, concise subject line. You'll get more responses.
|
|
|
|
|
HI,
i've got a logic Q.
i need to build two stations
station 1 :
1. gathers info from user (in the gui) and send it to station 2
2. listen to msg coming from station 2 in response to the info sent
(station 2 will not responed until all the info from atstion 1 is sent).
station 2 :
1. receive info from station 2 and store it.
2. response for each peace of info (it colud be anything).
how should i implement it?(a general concept with object names would be nice)
can anyone give suggestion??
THNKS in Advance
Have Fun
Never forget it
|
|
|
|
|
hi,
i take one data set using ado.net(sql server 2000), i take one crystal reporti,that is name is crystalreportTest,its file path is c:\Test\CrystalReportTest.rpt,my web application in c:\Test,
my dataset name is DataSetTest,i use this dataset in my crystal Report,i take crystalviewer1 & set the report source which is CrystalReportTest.rpt,
following code are used for solve the login problem(in crystalviewer property i remove logon prompt properties)
my code is as follows-----
using CrystalDecisions.CrystalReports.Engine.Migration ;
using CrystalDecisions.Shared;
using CrystalDecisions.Shared.Interop;
using System.Data.SqlClient;
using CrystalDecisions.Web;
using CrystalDecisions.Enterprise;
using CrystalDecisions.ReportAppServer;
using CrystalDecisions.Reporting.WebControls;
using CrystalDecisions.ReportSource;
using CrystalDecisions.CrystalReports;
using CrystalDecisions.Web.Services;
public partial class _Default : System.Web.UI.Page
{
TableLogOnInfo crTableLogOnInfo = new TableLogOnInfo();
ConnectionInfo crConnectionInfo = new ConnectionInfo();
CrystalDecisions.CrystalReports.Engine.Database crDatabase;
CrystalDecisions.CrystalReports.Engine.Tables crTables;
CrystalDecisions.CrystalReports.Engine.Table crTable;
CrystalDecisions.CrystalReports.Engine.ReportDocument crReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
protected void Page_Load(object sender, EventArgs e)
{
crConnectionInfo.ServerName = "SERVER";
crConnectionInfo.DatabaseName = "RESERVATION";
crConnectionInfo.UserID = "sa";
crConnectionInfo.Password = "sa";
crDatabase = crReportDocument.Database;
crTables = crDatabase.Tables;
crReportDocument.Load(@"C:\Test\CrystalReportTest.rpt");
for (int i = 0; i < crTables.Count; i++)
{
crTable = crTables [i];
crTableLogOnInfo = crTable.LogOnInfo;
crTableLogOnInfo.ConnectionInfo =crConnectionInfo;
crTable.ApplyLogOnInfo(crTableLogOnInfo);
crTable.Location = "RESERVATION.dbo." + crTable.Location.Substring(crTable.Location.LastIndexOf(".") + 1);
}
CrystalReportViewer1.ReportSource = crReportDocument ;
}
}
<\pre>
i use ReportDocument because in my application crystal report object is not set,when run my code it shows Invalid report file path.i don't know what is happinning ,i have done lot of research on it but i don't find the right solution,i don't know what is my mistak when i run this code ,plz help me anybody
thank you very much for your support
</\pre>
asp.net using c#
|
|
|
|
|
Hi Guys,
I need to create an Application in C#/ASP.NET (in Server1), which can create an Website in SharePoint 2007 (in Server2). Both C#/ASP.NET Application & Sharepoint 2007 are in different Servers.
Please send me information regarding this.
thank you
Mohamed Nazeem
Software Engineer
Bangalore
|
|
|
|
|
Hello friends,
I have a System.AccessViolationException issue that occurs since Vista. On XP's or previous, everything run fine. To be more specific. I have a C++ ATL/COM interface that is wrapped in C# .NET 2.0 . Problem occurs when handling Strings.
I've created COM using standard tools in VS 6.
this is the method definition from Interface IDL file :
[id(9), helpstring("method GetString")] HRESULT GetString([out] LPSTR* word, [out, retval] int* count);
Inferface .h Header file :
STDMETHOD(GetString)( LPSTR* word, int* count);
Code Inferface.c file :
STDMETHODIMP CLicenser::GetString(LPSTR* word, int *count)
{
*count = this->helperClass.GetCount();
*word = this->helperClass.GetWord();
cout << "word:" << *word << endl;
return S_OK;
}
Method definition in C# wrapper looks like:
int IClassNameObject.GetString(out string);
Anytime this method is called, it finishes properly (also including that Console output word:[whatever word contains]) but in Vista, it throws that System.AccessViolationException with name of that (GetString) method after it finishes.
Method is Supposed to return a count and fill a supplied string.
If u need I can create sample project / dll , I don't have one now....
zilo
|
|
|
|
|
Hi, I am making a project that stores information about employees. It has a hidden radio button that when you click delete it checks rbNotEmployee. This is hidden from the user but its important becasue I dont want to delete the record from the database and I dont want to remove it from the listbox. I want that name to show up red in the list box.
I have this so far.
private void lstContacts_DrawItem(object sender, DrawItemEventArgs e)
{
e.DrawBackground();
Brush myBrush = Brushes.Black;
if (rdNotEmployee.Checked == true)
{
myBrush = Brushes.Black;
}
else
{
myBrush = Brushes.Red;
}
/* switch (e.Index)
{
case 0:
myBrush = Brushes.Red;
break;
case 1:
myBrush = Brushes.Orange;
break;
case 2:
myBrush = Brushes.Purple;
break;
}*/
e.Graphics.DrawString(((ListBox)sender).Items[e.Index].ToString(),
e.Font, myBrush, e.Bounds);
e.DrawFocusRectangle();
}
How do I make it that it checks if rbNotEmployee is checked (red) or rbEmployee is checked (black). Thanks for your help in advance.
Kyle
Kyle Maldonado
|
|
|
|
|
I need to change the icon of the resulting .exe for my application programmatically at runtime. The path to the icon will be read form a file. I know it's possible to change the icon through: Project >> Properties >> Common Properties >> General >> Application Icon. I was reading at msdn to find the answer. It seems possible to change it but I just couldn't understand how. If anyone has done this before any help would be appriciated.
I'm using Microsoft Visual Studio .NET 2003 and .NET version 1.1
|
|
|
|
|
If you look in the code that the designer generates you should see the statement that sets the icon, use that.
|
|
|
|
|
Doesn't seem that changes made in project properties are written to the designer generated code as far as I can tell.
|
|
|
|
|
Anyone pls help?
-- I've built an application that would deal with own associated files.., had done providing default icons, file type, and etc. Everything works well by clicking or selecting a single file, my application runs and accepts the parameter which is the full path of the file itself..., but the problem is, when i try to load multiple selected files, when i do that, multiple instances of my application starts each having a single file to open... Though i'm using a string array in the main function of the application, it just loads a single parameter not an array of parameters..., I've used functions to access the registry, and used "%1" as an Argument, so maybe that could be the main problem....
-- Is there anyway i could change this to other values to attain multiple file entries with one instance of my application? Such as Windows Media Player enlisting all files when you use Ctrl+A in a directory of music files...,
----Thanks a lot in advance!!!!
|
|
|
|
|
Perhaps you could acquire a mutex with the first instance of your application. Then, successive attempts to open a duplicate of your application would see that the mutex is already acquired (meaning you have 1 instance of your app already running), and you could send the file path to that instance, then exit the new one. Hope this helps,
-Jeff
|
|
|
|
|
I'm sorry, can you pls elaborate? M not sure i got it...
===sorry, just a little of a beginner man(Jeff).
|
|
|
|
|
Dear friends,
Good morning.
I have developed the application using Microsoft visual studio 2005 in C# 2.0 Windows, console and Windows Service Project in One solution file.
Now I have added one more project called Setup from Setup Project Template.
My client has required multilingual installation setup and custom program EXE selection in single setup.
How can I implement this functionality in Visual Studio 2005?
Thank you.
B.Sundarapandian
|
|
|
|
|
hi all
can anyone tell me what properties should be set to alter the form controls when the form gets resized.can i use anchor and dock properties that are used in windows application in web based application also..
pintoo
|
|
|
|
|
Use table layout for best results. The property you need to set is "anchor".
Until you realize this message has nothing to say, its too late to stop reading
|
|
|
|
|
Hi,
i want to add a image to the selected text area in the multiline textbox.
can anybody help me regarding this...
|
|
|
|
|
Possibly the easiest way would be to subclass the control and handle the onpaint method to draw in your own image.
|
|
|
|
|
An image in a textbox? Sounds like you need a RichTextBox .
Cheers,
Vikram.
"If a trend is truly global, then that trend ought to be visible across ANY subset of that data" - fat_boy
|
|
|
|
|
|
Hi guys,
I have one panel and one picturebox in panel.Here picturebox exceed panel height.Now, I wanna to move scroll thumb downward on
click of button to let user see the other areas of picturebox.
I have written one code in button_click event
panel1.VerticallScroll.Value+=5;//5 indicate moving thumb by 5 pixel.
I am getting some awkward output.In first click I can move picturebox top by 5,in second click verticall scroll bar get incremented by 5,in 3rd I can move picturebox top by 5,in 4th click verticall scroll bar get incremented by 5.
can any one tell me why it so...I want both to be done in one click.
pls reply
thanks in advance.
Regards
Chintan
www.visharadsoft.com
(I am thinking to change humans to computer, but unfortunately GOD will not give me the source code)
|
|
|
|
|
Try adding panel1.Refresh(); to update it after you change the scroll bar, it might help.
My current favourite word is: Bauble!
-SK Genius
|
|
|
|
|
On the KeyDown event in a DataGridView I want to open a context menu
using the Apps key, something like: if (e.KeyCode == Keys.Apps) then
show the context menu by the selected row. The problem im having is how do I get the right position for the selected row to send in to the contextMenu.Show() method.
When using the MouseUp event I can just use the MouseEventArgs (e.Location) to position the context menu by the selected row: contextMenu.Show((Control)sender, e.Location); Anyone know how I can accomplish this for a keyboard event?
|
|
|
|
|
Hi,
How to disable/remove "Delete-Key" on dataGridview?
Thank you
(Riaz)
|
|
|
|
|
You could override PreProcessMessage method
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData.Equals(Keys.Delete))
{
// return true to tell the caller,
// that the message was processed by this control.
return true;
}
return base.ProcessCmdKey(ref msg, keyData);
}
or simply set AllowUserToDeleteRows to false
|
|
|
|