|
Member 10457223 wrote: What should i put here: //PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt//
what path?? Your report Path(Where you have report files). For example, if you have your report files in some folder on D Drive, then code should be like below.
cryRpt.Load(@"D:\Somefolder\CrystalReport1.rpt")
But don't use hard code path, use Relative path . C# get project path[^]
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|
I need to simulate keyboard and mouse actions in a simple C# Visual Studio Windows Application. Some years back, it was relatively simple to do this, as I recall. (Microsoft once even had a whole programming environment called MSTest built around this functionality.) Now, the only way that I see to do it within Visual Studio is with a Hyper-V WMI class. I do not see what library those classes are in, and I wonder if there is a simpler way anyway.
W. Johnson
|
|
|
|
|
What you are looking for is something called Automation Peers. You can find some information on this technology here[^], and using it in WPF here[^].
|
|
|
|
|
I wrote a C++ mixed-mode (native and CLI) DLL. Call this assembly C1. It has a project reference to another assembly called R1.
Then, I wrote another mixed-mode DLL called assembly C2. It also has a project reference to R1.
These mixed-mode DLL's are loaded by a native Windows application. The assemblies are unsigned.
Current versions of the mixed-mode DLL's work with the original version of the native application if all assemblies are updated. However, I have a requirement to be able to update C1 without updating C2. Unfortunately, C1 and C2 both share R1 as a common dependency, and different versions of R1 are incompatible. This defines the root problem.
In an effort to resolve this, I updated C1 to create a new application domain whose private path (for probing) is a sub-directory of the application directory. The new R1 is located in the sub-directory. The new C1 is located in the application directory. The old C2 and R1 are also located in the application directory. The new versions of C1 and R1 are signed. Denote the old assemblies as C1A, C2A, and R1A. Denote the new assemblies as C1B and R1B. I am logging assembly loads in a handler to the separate app domain's AssemblyLoad event.
When the application runs, I see that C1B is loaded. Then, R1B is loaded into the separate app domain. Unexpectedly, R1A is loaded into the separate app domain. When a type from R1 is instantiated, the runtime is using R1A instead of R1B. Due to the aforementioned incompatibility of R1 versions, all sorts of exceptions ensue.
I then ran ildasm.exe against R1A. Next, I ran ilasm.exe against the resultant .IL file, specifying the key I used when building R1B. This generated a signed version of R1A. Denote the unsigned R1A as R1A1 and the signed version as R1A2. Finally, I copied R1A2 into the application directory. Now, the runtime skips R1A2 and only loads R1B in the separate application domain.
To me, the behavior of R1A1 violates the entire purpose of generating strongly named assemblies. What am I missing?
|
|
|
|
|
I've created two windows 8 applications. One of them was a very useful app. Lot of users gave me good feedback. And they wish i could improve it. Some site web has choosen this app as a very suggested app.
But because of my work, almost one year i didn't touch it. Now, i want to send my app to someone else who can take care of it.
Here is the link of my app http:
Another here is: http:
I don't care of money earning in the future from your part. But i really want my idea could help more peoples.
If someone has interested in it, please contact me with my gmail: comiscience@gmail.com I'm Bo. Please write me the mail with English, French or Chinese please.
And i also want to know where can i find you who want to continue my idea
Thanks
|
|
|
|
|
|
|
|
I'm developing a WCF RESTful web service with C# and .NET Framework 4.0. There is also a SQL Server database and I'm using Entity Framework Code First to access it.
And i use Android for get, post, ... in my service by json.
I have these two tables on SQL Server:
A user table for my application's user.
User
{
userId,
name,
country
}
And another table to store their thoughts about something.
Thought
{
thoughtId,
userId,
descrip
date
}
Now, I want to show mething like this:
User.name
Thought.description
Thought.date
I follow http://forums.asp.net/t/1774830.aspx[^]
but i have a problem: the Json String is inValidate format and i Can't convert it in my android project.
How Can I return a JSON object this way?
Please help me.
|
|
|
|
|
mrhs wrote: How Can I return a JSON object this way?
You don't.
Your user is going to 'use' 'thoughts' (plural). So you create rest api methods that allow a user (singular) to manage one or more thoughts (plural). So for EXAMPLE (example only) you might have the following Rest methods.
- Get a thought (by id)
- Get all thoughts (a list) for a user.
- Create a thought
- Delete a thought.
If you want the user to manage themselves then you would provide similar methods to manage the user (but not the thoughts.)
|
|
|
|
|
It was a bad sound.
Please help me to create or give me a idea.
I'm newbie in Android and WCF Rest service.
Thanks alot.
|
|
|
|
|
What specific part of the break down that I gave you did you not understand?
|
|
|
|
|
If you as me.
Could you developing a WCF RESTful web service with C# like my idea???
If I don't, please give me a idea, which help me fix my problems.
Thanks
|
|
|
|
|
mrhs wrote: If you as me.
Could you developing a WCF RESTful web service with C# like my idea???
Could I do it? Yes.
mrhs wrote: please give me a idea, which help me fix my problems.
Which part of my previous response did you not understand?
|
|
|
|
|
Hello,
I have a database I would like to know how to locate the FILESTREAM data
For a row in a table I want the physical location:
D:\Test_FSss\e0b4921f-8cb2-49c1-b4e7-f01a7376cac1
I tried patshname function but it does not give me the desired result.
Thank you in advance.
|
|
|
|
|
This sort of information is internal to the database and will be dependent on the type of database system.
Veni, vidi, abiit domum
|
|
|
|
|
there is no one thing is very important for my project.
|
|
|
|
|
Even if this is very important for your project, the fact is, for all the major database vendors there is no API call that will give you this information.
|
|
|
|
|
|
There is no need for anyone to know this information. Perhaps your question is not clear, please explain what you are trying to achieve.
Veni, vidi, abiit domum
|
|
|
|
|
I have a Cust table that exceeds 10T partitioned over several Filegroup, Filestream and includes the information of customers, my boss asked me to locate him physical location to make archiving and backup by another application
I hope to be clear.
thank you.
|
|
|
|
|
This is a Database issue and nothing to do with .NET. You should be talking to your Database administrator, or the company that produces the database. Also, you should use the Database administration tools for backup.
Veni, vidi, abiit domum
|
|
|
|
|
|
Err no. That's nothing to do with the question that was asked.
|
|
|
|
|
Why? Because "ImageSaveInDataBase.zip" doesn't exist on the CodeProject server?
|
|
|
|