|
We now have a forum on CP for WPF. This is probably a better place to ask this. Also, please try to give a more meaningful problem description that nothing is displayed correctly. You need to identify what exactly is displayed incorrectly.
|
|
|
|
|
well,i thought as wpf is part of the .netframework and i don't think it hasn't anything to do with wpf coding itself, the .net framework forum would be a beter place.
well, e.g. the wpf propertygrid in vs2008 is completely disrupted (as kaxaml and wpfpad also).
vs2008 is not able to display lineargradients anymore (only the last gradientstop color gets displayed), and much more.
it seems like the wpf runtime got set back to a pre-pre-pre-alpha version. (though i know the latest 3.5 framework is installed.)
|
|
|
|
|
Hi everybody
I'm making a web custom control which is just for getting feedbacks from visitors so I have created a database and a dataset via SQRExpress and then in my send buttom click event I have this code:
void _send_Click(object sender, EventArgs e)
{
FeedBackDBDataSetTableAdapters.FDTableTableAdapter ta=new FDTableTableAdapter();
tableAdapter.InsertQuery(Category, textBox1.text); tableAdapter.Dispose();
}
The problem is here that after I run a project which contains this control and press the send buttom, this Error Appears:
A connection was successfully established with the server, but then an error occurred during the login process. (provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.)
Does any one know why?
thanks.
|
|
|
|
|
I think that I found the answer to this problem,(of course if any one knows a better way it's very kind of him/her to post it to me). so my answer to me is this:
probably when you want a SQLEXPRESS database to be included in a web custom control, and then drag the control to a web page the page can not log to database for any insertion or update. I made a SQl database some were out side the control and passed the connection string to a dataset in the control and I was very pleased to see it worked!!.
|
|
|
|
|
i'm new in vb.net, i'm using Microsoft Visual Studio .Net 2003
i try to create a system to record customer problem regarding our system, when they call us. each time i submit the record, it will save the data that i've key-in and must generate a unique document number for our reference. i try to create the docNo but it didnt work. how to add data from 3 textbox in one field into my table? HELP..
|
|
|
|
|
zaimah wrote: i try to create the docNo but it didnt work.
The description "didn't work" is a rather useless. What did you do to try to create the docNo, and what happened specifically when you tried this?
Are you using a database? In that case the easiest way to create a unique id is to set up an automaitcally incremented field in the table. How that is done depends on what brand of database you are using.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
Hi all, quite new to asp.net c# programming, i have a mifare reader PCR310U , i need to develop a website which can retrieve information(like card ID) through website using remote mifare reader in remote computer when surfing the website.
for example, i already published my website, when i'm not at the server computer and at my own house, i have a mifare card reader which is connected to my house's PC and a mifare Card, i wish to register the card ID together with my IC number and save into my system website database. can anyone enlighten me on how to go about doing it?i really have no idea how i can retrieve information through mifare reader through the internet website.
if you can help me pls email me.this system quite urgent for me.
thanks alot
tyrone
tyrone_93@Hotmail.com
|
|
|
|
|
Do not post the same message to multiple forums. See the CodeProject Posting Guidelines.
led mike
|
|
|
|
|
i have a data grid which is displaying the details of empolyee
such as empid,empname,empsal,empaddress
i am fetching the details from database put it into a cache...
i am refreshing this cache for every 5 minutes....
My question is if there is any update in the database , within the 5 minutes.. how can i update in the datagrid.. with in 5 minutes??
(after 5 minutes it will be automatically done beacuse of caching)
Aswini
|
|
|
|
|
You could start by asking in the right forum?! I'm not aware of an easy solution - you'd probably have to set up a trigger against your database table and have that call a piece of CLR code that reset the cache in the application...
A better way would be to reconsider how you're using your cache - if the data is invalidated before the cache expires then your policy is almost certainly wrong.
It definitely isn't definatley
|
|
|
|
|
And what is wrong with this forum for the question? The question seemed to be a general .net related inquiry.
Have a look at SqlDependency
only two letters away from being an asset
|
|
|
|
|
This post was originally in the lounge - looks like someone's been doing some housekeeping.
It definitely isn't definatley
|
|
|
|
|
|
Hello!
I would like to create a windows explorer toolbar in .NET Framework.
I read an article about it, but it is a little difficult.
Maybe there is a simple way of creating a toolbar that will be able to do
some simple functions?
Thanks in advance!
Have a nice day!
|
|
|
|
|
what is diff b/w after trigger and instead of triggers
raja
|
|
|
|
|
1. Wrong forum
2. Use Google
|
|
|
|
|
Wrong forum. Try the SQL Forum and google
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Hello,
I check for the existence of a file using File.Exists(path). The file does exist, but the method returns false when running on Vista.
Can anyone help?
modified on Thursday, February 07, 2008 4:32:07 PM
|
|
|
|
|
I haven't ever had a problem with File.Exists in Vista. Are you sure the path actually exists and you aren't using an older format path, for instance trying to access 'Documents and Settings' instead of 'Users' (that is assuming Vista doesn't automatically handle this sort of thing.)
Also, I would point you in the direction of the MSDN documentation, specifically:
If the caller does not have sufficient permissions to read the specified file, no exception is thrown and the method returns false regardless of the existence of path.
Are you sure the user the program is running under has the correct permissions? Try running the IDE as an administrator and see if you get the same problem.
Finally, if you're entering the path as a hard coded string, make sure the slashes are correctly escaped, e.g:
"c:\\path\\file.ext" or @"c:\path\file.ext" not "c:\path\file.ext"
Normally the compiler will pick up this sort of problem. These examples work in C#, I can't say with confidence whether the same applies to VB .NET or Managed C++.
|
|
|
|
|
Thanks for the reply, all sorted now. I can't believe I missed the security statement in the documentation. Oh well, it was a late night.
|
|
|
|
|
Hi All,
I am writing a 64 bit class library hence I assume I need to use 64 bit compiler ( csc.exe )
I would like to know how can I configure Visual Studio 2005 so that csc.exe present in C:\WINDOWS\Microsoft.NET\Framework64\ is used instead of the csc.exe present in C:\WINDOWS\Microsoft.NET\Framework\ which i assume is the 32 bit compiler
- Rakesh
|
|
|
|
|
I believe you can use the build configuration manager to change whether to compile as a 32-bit program, a 64-bit one, or as one that can go both ways.
www.socoder.net
|
|
|
|
|
The output MSIL code is identical whether you select MSIL (AnyCpu), x86 or x64 output. The only difference is a flag in the header stating which platform it was compiled for. EXE files (I'm not sure about DLLs) carry a PE64 header indicating it can only be run on the 64-bit OS.
The actual processor-specific code is compiled at runtime by the JIT compiler.
A class library marked MSIL (AnyCpu) can be loaded into a 32-bit or a 64-bit process. The only reason to mark it as one of the others is if you've written any code which assumes the size of a pointer, or uses any APIs that are different between the two platforms.
The only difference between the two versions of csc.exe is that the version in Framework64 is itself a 64-bit executable. Either version can produce code marked with any of the three platform types.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Hi All,
I implemented a C# class library and registered it to be visible for COM objects, then i used it from VB6 application and it works fine. Now the problem is that i want to raise an event in the .NET COM and pass it as an event in VB6. i.e. when the .NET COM catched an exception i want it to raise event in the VB6 application to log the event (because the logger works there). Any ideas?
Thanks,
Mayy
modified on Wednesday, February 06, 2008 5:45:48 PM
|
|
|
|
|
MayyMagdy wrote: Any ideas?
You need to implement a COM event.
led mike
|
|
|
|