all groups > c# > october 2007 > threads for wednesday october 3
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
bottom anchor
Posted by vinnie at 10/3/2007 11:44:01 PM
if on a page i have a layer, and i want to anchor it at the bottom,
how could i do that? (Asp.net 2.0 C#).
Thanks
Vinnie
... more >>
Show photo on ASP
Posted by Phil H at 10/3/2007 9:20:11 PM
I have an .NET ASP web application to show a photo depending on the person
selected. I used the url tag pointing to a file local to the server. All
works fine when running from the IDE. Problem: when I deploy it, I got a
permission error when creating the file. Question: where do I specify the... more >>
News: .NET framework source code available soon...
Posted by Jon Skeet [C# MVP] at 10/3/2007 7:26:35 PM
I'm sure the net will be buzzing with this news fairly soon, but just
in case anyone hasn't seen it yet:
Microsoft are going to make the source code for the .NET framework
(parts of it, including the BCL, ASP.NET and LINQ) available both for
viewing and debugging into.
I won't go into al... more >>
Limit on SQLDataReader w/ Blobs
Posted by Garth Wells at 10/3/2007 7:12:51 PM
I use a filtered SELECT to populate the SQLDataReader (rdr) with
a filename and a blob (pdf). I then use File.WriteAllBytes to write
each pdf to disk.
----------------------------------------
rdr = command.ExecuteReader();
while (rdr.Read())
{
byte[] BinaryImage = (byte[])rdr["attachment... more >>
DateTime & TimeZone
Posted by Benjamin The Donkey at 10/3/2007 6:52:08 PM
How do I convert Date to another TimeZone in C#? I am using .NET 1.1
right now.
... more >>
XML Example
Posted by eric at 10/3/2007 5:15:35 PM
Any examples of creating an xml document in code completely from scratch?
Every example I've seen loads a document from a pre-existing file. Nothing
difficult something like
<?xml version="1.0" encoding="utf-8" ?>
<bookstore>
<book>
<title>Oberon's Legacy</title>
<author>Corets, ... more >>
type of expression in C# 2.0?
Posted by bob_jenkins NO[at]SPAM burtleburtle.net at 10/3/2007 5:01:01 PM
In C# 2.0, given an arbitrary expression and the types of the
variables referenced in it, how do I find the expression type? For
example,
int x;
float y;
what is the type of x+y?
If I had values for x and y, I could do (x+y).GetType(). But I don't,
I just have their types. Defaul... more >>
news with asp C#
Posted by vinnie at 10/3/2007 4:28:45 PM
using Flash it's easy to create a small textbox, and let the news to
flow i.e. from right to left.
I was wondering if there is something in asp.net 2.0 C#, to create
anything like that.
Vinnie
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Writing controls
Posted by Claire at 10/3/2007 4:21:41 PM
Hi, Im new at user control writing in dotnet.
I've written a simple gradient painted panel control based on the
UserControl class.
It works reasonably, but the properties arent being persisted. Also I want
to expose the base Text property as I like how the IDE generates control
names automat... more >>
Reading resources from an MFC DLL using C#
Posted by BadCode at 10/3/2007 3:27:36 PM
Here is the deal..
I have some (MFC built) Resource only DLLs that I need to pull data
from using C#
Am I over-looking the obvious ?
As I've searched and not found anything about this.
Is this is so simple no one else (except me) had to ask - How to do
this?
... more >>
Real time share prices
Posted by Pete Kane at 10/3/2007 2:23:29 PM
Hi All, does anyone know a site that I can query share prices programmatically ( possibly passing in a stock symbol )?... more >>
int'l date
Posted by vinnie at 10/3/2007 12:54:52 PM
I'm trying to use the time & date method for get it shown on te page,
but if i use the standadr format it works, while if i change it as
follow, i get two error messages:
System.Globalization.CultureInfo culture = new
System.Globalization.CultureInfo();
System.Globalization.CultureInf... more >>
Importants of IntPtr?
Posted by TheMadHatter at 10/3/2007 12:50:01 PM
??????????????????
What is the importance of IntPtr besides being, behind the scenes, a void
ptr, that gets cast into either an int* or an long* depending on the result
of sizeof(void*);
??????????????????
... more >>
SQLParameter Question.
Posted by wackyphill NO[at]SPAM yahoo.com at 10/3/2007 12:38:42 PM
There are sever overloads and ways of adding to the SqlCommand's
Parameters collection. They all specify the parameters name. But some
also supply a SqlDbType and a length. Does anyone know the pros/cons
of supplying or not supplying this info?
... more >>
Help: Continue String Code to next line
Posted by fhwa at 10/3/2007 12:03:01 PM
ok, I'm trying to write a string code and currently the code works
however I've run out of room and I need to change some of the source
names it pulls from. Changing the source names create the string
longer and there is no room left. I need to know how I can split this
into two or more lines ... more >>
User login in windows forms
Posted by Ricardo Luceac at 10/3/2007 11:11:13 AM
Hi all...
I'm been working with asp.net and I use the membership and roles
providers that are built in controls..
Now I need do do an windows application, I've not found these controls
in c#...
Is there any controls or I have do do it myself??? And how to secure
things like menu itens ba... more >>
How to call C# callbacks from C++/CLI?
Posted by John Doe at 10/3/2007 10:57:10 AM
Hi,
Tried searching Google on this topic but not many came up. Basically I
have a C# GUI client that wants to receive 'notifications' from a worker DLL
(which is implemented in C++/CLI). So far, from C# I am able to call any
method directly in C++/CLI DLL. But I would like to have the ... more >>
How to use the List Class
Posted by Noble Bell at 10/3/2007 9:55:00 AM
I am a little bit confused on the concept of using a List Class. Here is what
I want to be able to do:
1) I create an object called "NotePage"
2) I want to add several "NotePage" objects to a "NoteBook" List
3) I then want to be able to pass a List Class as a parameter to a method call
Can... more >>
Using Regex to find non-commented string
Posted by tawright915 at 10/3/2007 9:33:21 AM
Ok so here is my regex (--.*\n|/\*(.|\n)*?\*/). It finds all comments
just fine. However I want it to return to me all strings that are not
commented out. Is there a way to exclude the comments and only show
the non-commented strings
Here is an example of the data that I am working with
/*... more >>
Automating a Word Macro from C#
Posted by fatima.issawi NO[at]SPAM gmail.com at 10/3/2007 6:17:34 AM
Hello,
I am trying to run a Word Macro from C#. I am getting the error:
Unknown name. (Exception from HRESULT: 0x80020006
(DISP_E_UNKNOWNNAME))
when I get to the line that actually runs the macro. All the other
code runs correctly. Am I calling the macro correctly? The macro is
available... more >>
If you want do delete your site from our spam bases - just email us with domain of your site: abuse-here@inbox.ru thank you!,If you want do dele
Posted by abuse-here NO[at]SPAM inbox.ru at 10/3/2007 5:21:17 AM
If you want do delete your site from our spam bases - just email us with domain of your site:
abuse-here@inbox.ru
thank you!,If you want do delete your site from our spam bases - just email us with domain of your site:
abuse-here@inbox.ru
thank you!,If you want do delete your site from o... more >>
Temp Folder
Posted by TARUN at 10/3/2007 4:12:44 AM
I am facnig aproblem regarding the Temp Folder
I am using C#.Net
I use a Method
string temp = System.IO.Path.GetTempPath();
This will return the
C;\Document and Setting\John\Local Settings\Temp
but if i am running the same code in remote system then this will
return C:\Tmp
Why So, Ple... more >>
calling n methods
Posted by b1uceree at 10/3/2007 3:39:01 AM
Hi,
i need to work out a solution to this:
i have a class that is a time series of (double) numbers and i want to do
the following calculation
for
int x;
i need to perform a calculation which will, starting with the last item
added to the time series perform calculations moving backwards ... more >>
Passing values from C# from/to a C++ dll
Posted by Bob Yang at 10/3/2007 3:37:22 AM
Hi, I have this in C++ and I like to call it from c# to get the value
but I fail. it will be good if you can give me some information. I
tried it in VB.net it works but I use almost the same way as VB in C#
but it doens't work.
c++: (csp2.dll)
NoMangle long DLL_IMPORT_EXPORT csp2TimeStam... more >>
Break thread sleep
Posted by suga.masanobu NO[at]SPAM gmail.com at 10/3/2007 3:22:53 AM
Hello group.
I have thread in which I perform specific task in loop. I can specify,
by check box, in what periods of time that task should be done, ex.
instantly, with 5min break, with 15min break etc. For now I had it
done in way like that.
while(true)
{
period = checkIfPeriodChange... more >>
Reading a selected value out of a datagridview
Posted by jed NO[at]SPAM auto-soft.co.za at 10/3/2007 2:57:51 AM
Hello i need help on this i have read data into a gridview using sql
statement.
string loadCustomer = "SELECT * FROM Customers";
OleDbDataAdapter dataAdapter = new
OleDbDataAdapter(loadCustomer, oleDbConnectionCust);
OleDbCommandBuilder commandBuilder = new
OleDbComma... more >>
Why simple properties?
Posted by at 10/3/2007 2:28:54 AM
I can understand why properties are neat if you want to limit access
(only get, no set), or you want to do some bookkeeping or sanity
checking on values (in set) or if you want to change the underlying
type without changing the property type etc.
But what is the use for properties like:
pri... more >>
replace values
Posted by Hrvoje Voda at 10/3/2007 12:00:00 AM
I'm using 2 integer numbers X and Y.
I would like to replace there values(Y=X, X=Y) but without using any other
variables or functions.
Hrcko
... more >>
sort string
Posted by Hrvoje Voda at 10/3/2007 12:00:00 AM
I read a text file context into a string.
It's a sentence. - "Good day."
I would like to save it back to text file but as "Day good."
Hrcko
... more >>
best baseclass for CustomListview
Posted by Alain R. at 10/3/2007 12:00:00 AM
Hi,
I would like to do a brand new ListView control (for reportview) but i
do not remember what is the best base class to devire from :
CustomControl, ContainerControl or UserControl ?
I do not want to derive from original ListView control.
thanks a lot,
A.... more >>
draw borderstyle
Posted by Alain R. at 10/3/2007 12:00:00 AM
Hi,
I added a property BorderStyle in my custom control, however, i would
like to know if it exist a particular function or method to draw it
based on BorderStyle value selected by end user ?
if not i was thinking to use DrawLine function.
thx.
A.... more >>
|