| ODBC SQLCAncel.... Equivalent.... |
|
 |
Index ‹ DotNet ‹ ADO
|
- Previous
- 1
- Microsoft Project >> Hide a PERT chart linkTo make a PERT chart usefull it is sometimes necessary to hide links. Who is it possible to hide a particular link in order not to be displayer in the PERT chart, but withou removing that ling from the Ghantt chart?. Thanks.
- 2
- Microsoft Project >> Project viewer?Microsoft has a Powerpoint viewer so it is not necessary to install the full
version of Powerpoint to view a PPT.
Is there anything equivalent for Project? (Either Microsoft or third party)
Thanks,
Steve
- 3
- Net Framework >> reading registryhi,
i've a requirement to scan the registry keys programatically in a console
application and read the data of the keys..
given a registry key, say,"HKEY_USERS". user should be able to scan the
subkeys of the given key recursively(i.e. all the subkeys of the given
subkeys etcc..) till the last indent level....
i've used a recursion to do so..but it's taking lot of time..
is there any efficient way to acheive it.....
- 4
- Visual C#.Net >> Window Hooks>From my reading it is not possible to create Global Hooks for WIndow
Creation, Destroyed and Moved events in C#. I am just unclear about
the difference between a global and locals hook. Is global anything
that is not part of my application while local is anything that is? I
do know the handle of the windows I want montiored. How can I do this
from C#.
- 5
- Microsoft Project >> Standard to Enterprise QuestionWe currently do not have our new methodology in place that will provide
information that we can use to create an Enterprise Global Template or to set
up the RBS and Outline Codes. Is it possible to create a standard plan now,
add actuals, etc. and then 're-apply' the data later on to an Enterprise
Global Template that contains RBS and Outline Codes?
Thanks for any advice..
Bill
- 6
- Dotnet >> How to write XML file with xmlns:xsi and xsi:noNamespaceSchemaLocaI'm using VB .Net and am new to XML.
I need to create an XML file with the following lines:
<?xml version="1.0" encoding="UTF-8" ?>
- <HC_DATA xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://.../asc.xsd">
other stuff...
</HC_DATA>
I am trying to use XMLTextWriter and have access to the schema file asc.xsd
which I can add to my project.
Can anyone help me with the syntax in VB .Net in order to create these lines
using xmlns:xsi & xsi:noNamespaceSchemaLocation?
Please help - I've been researching this issue online for 2 weeks!!!
Thanks,
Lindy
- 7
- 8
- Visual C#.Net >> ConfigurationManagerand App.ConfigConfigurationManager.Read("PRO") to read application parameters.
a section PRO in appconfig locate the assembly, the class and the version to
use for retrieval.
How can I modify the section declaration in order to use a local class
without using the assembly? The class now is into the project, i prefer not
to generate a dll for this simple purpose.
Thankx!
Mauro (Italy)
- 9
- Visual C#.Net >> DataGridView - Vertical ScrollBar Help NeededFirst, I posted a similar request for help in another group and now
don't find the posting. Problem with my newsreader perhaps ... but
apologies if this appears as a cross posting.
My code is inconsistent in the detection of a vertical scrollbar. This
involves situations when less than the client area is needed to hold
the small amount of data. The inconsistency is when adjusting the
panel size within or just below the bottom row. Sometimes the code
adjusts the splitter of the panel as if a vertical scrollbar was
present ... when it is not. This results in seeing a portion of the
panel outside the DataGridView where the scrollbar resides when it is
needed.
I use the following code to detect if a vertical scrollbar is present:
grid2.AutoResizeColumns();
grid2.AutoResizeRows();
int i, sum = 0;
for(i = 0; i < grid2.ColumnCount; ++i)
{
sum + grid2.Columns[i].Width;
}
if(grid2.PreferredSize.Height > split2.Panel2.ClientSize.Height)
{
// Adjust splitter to fit columns WITH a vertical scrollbar present
split2.SplitterDistance =
Math.Max(100, ActiveForm.Width - sum + Split2.SplitterWidth - 35);
}
else
{
// Adjust to fit columns WITHOUT a vertical scrollbar present.
split2.SplitterDistance =
Math.Max(100, ActiveForm.Width - sum + Split2.SplitterWidth - 19);
}
I wish I knew how to directly determine if the vertical scrollbar is
present without using the PreferredSize.Height > ClientSize.Height
comparison. Rather than summing the column widths and using the sum
value, I've also used Preferred.Width ... but see the same effect.
I've printed out the Preferred.Width and ClientSize.Height and these
are updating correctly. The problem seems internal of the DataGridView
control itself in that it is obviously using a different determination
for the displaying of the scrollbar. I'm almost convinced this is
actually a flaw of the control that needs to be fixed ... but usually
when I feel this way I find it is because I have done something wrong
and the controls end up being robust.
Thanks for any help sent my way. :)
-- Tom
- 10
- Dotnet >> help me please...(i have a problem with my windows service)Hi guys, i have a problem with my windows service project. I already
publish that to my localhost and install it. The installation file has
been created. But at the same time, a message box appear to inform
that i cannot start service from command line or debugger. I must
install it first then start it using service management tools. Do
anyone know whats going on.....?
- 11
- Winforms >> No Touch deploymentAre there any good articles out there on no touch deployment and how easy is
this to setup? Also a friend of mine told me about Microsoft Update block I
believe which is a more low level version of No Touch what are the
differences?
- 12
- Visual C#.Net >> Multiple datasources in FormView/DetailsViewHi all
I am displaying some information from my database using DetailsView
which is bound to SqlDataSource1.
<asp:DetailsView ID="DetailsView1" runat="server"
AutoGenerateRows="False" DataSourceID="SqlDataSource1"
ForeColor="#333333" >
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [x], [y], [z], [a], [b], [c] FROM [sometable]
WHERE ([ID] = @ID)"> />
When I allow editing of this information, I want to populate certain
dropdownlists in the DetailsView using different datasources. Is this
possible?
Specifically:
<ItemTemplate>
<asp:Label ID="lbl" runat="server" Text='<%# Bind("someField")
%>'></asp:Label><br />
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList ID="ddl" runat="server" </asp:DropDownList><br />
</EditItemTemplate>
The ListItems for this DropDownList need to come from another database
table, not the same one to which it is bound in the ItemTemplate.
Is this possible at all?
Thanks!
- 13
- Visual C#.Net >> adress regex helpHello all
have a regex question... I want to split an address into descrete parts
so
709 S Milton Ave is split into
number = 709
Direction = S
Name = Milton
Type = Ave
So I have the following regex
(?<number>^\d*(\s\w|\w|\-\w|\s\d/\d))\s(?<direction>(n\.|N\.|s\.|S\.|E\.|e\.|W\.|w\.|NE\.|ne\.|SE\.|se\.|NW\.|nw\.|SW\.|sw\.|n|N|s|S|E|e|W|w|NE|ne|SE|se|NW|nw|SW|sw|North|East|West|South|north|south|west|east)*)(?<street>(.*[^street|place|drive|st|pl|dr|ave|av])*)(?<type>.*)
Which works for the folowing address
709 S S Milton ave (as in 709 S South Milton ave)
as that S is part of the number
but does not work for
709 S Milton ave
because it thinks that the S is part of the number and not the
direction....
any ideas
- 14
- Visual C#.Net >> Network Share DrivesHi
How can i look for network share folders and copy a text file to it? I've
been looking into how i can do this in the documention but with no luck. I
found a little on of the web but i dont understand it, it seems to import
mpr.dll and make the use of c++ calls. Can this be just done by c#?
If so how?
Jamie C
- 15
- Dotnet >> table controlIs the Table control(I'm speaking about the web server
controls) an editable control?
If so, how I can edit the data that gets displayed in a
table?Give me some code examples
thanks in advance,
vijaya
|
| Author |
Message |
kotelok

|
Posted: Wed Jun 08 22:26:59 CDT 2005 |
Top |
ADO >> ODBC SQLCAncel.... Equivalent....
My query returns huge data to the end user. What is the syntax to cancel the
query.... I am using ADO.Net (Data Reader) and .Net Framework 1.1.
Thanks,
Smith
DotNet424
|
| |
|
| |
 |
Val

|
Posted: Wed Jun 08 22:26:59 CDT 2005 |
Top |
ADO >> ODBC SQLCAncel.... Equivalent....
Hi Allen,
There is no async mode in a current version of ADO.NET and you cannot cancel
query. But when you call your query you probably know what it does and, I
believe, you could narrow selection at this moment of time using WHERE
clause. Another way is to design application that way that all the
manipulation of the data could be done on a server side inside of SP. In
this case it will be batch manipulation and should work faster
--
Val Mazur
Microsoft MVP
http://xport.mvps.org
"Allen Smith" <EMail@HideDomain.com> wrote in message
news:%EMail@HideDomain.com...
> My query returns huge data to the end user. What is the syntax to cancel
> the
> query.... I am using ADO.Net (Data Reader) and .Net Framework 1.1.
> Thanks,
> Smith
>
>
|
| |
|
| |
 |
William

|
Posted: Thu Jun 09 12:33:35 CDT 2005 |
Top |
ADO >> ODBC SQLCAncel.... Equivalent....
Ah no. The ADO.NET Command object supports a Cancel method.
You MUST use the Cancel method before closing a DataReader that's returning
too many rows or ADO.NET will step through the rowset anyway (which can take
considerable time).
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
www.sqlreportingservices.net
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"Val Mazur (MVP)" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> Hi Allen,
>
> There is no async mode in a current version of ADO.NET and you cannot
> cancel query. But when you call your query you probably know what it does
> and, I believe, you could narrow selection at this moment of time using
> WHERE clause. Another way is to design application that way that all the
> manipulation of the data could be done on a server side inside of SP. In
> this case it will be batch manipulation and should work faster
>
> --
> Val Mazur
> Microsoft MVP
>
> http://xport.mvps.org
>
>
>
> "Allen Smith" <EMail@HideDomain.com> wrote in message
> news:%EMail@HideDomain.com...
>> My query returns huge data to the end user. What is the syntax to cancel
>> the
>> query.... I am using ADO.Net (Data Reader) and .Net Framework 1.1.
>> Thanks,
>> Smith
>>
>>
>
>
|
| |
|
| |
 |
| |
 |
Index ‹ DotNet ‹ ADO |
- Next
- 1
- Dotnet >> Bind datatable to excel worksheetIt is possible bind a memory AdoNet Datatable to an Excel wooksheet and,
after update of datatable contens (via code), view update in real time on
the woorksheet?
I am starting use Visual studio tool for office to make this task: it is the
correct way?
thank's in advance for help
gianni
- 2
- 3
- Visual C#.Net >> Dispose Generic ListI have filled generic list with data on one form.
When I close form generic list stay in memory waiting GC to collect.
I want to implement code on form close to dispose generic list.
- 4
- 5
- Visual C#.Net >> Calculus Class LibraryI am pretty sure there exists already .net class libraries that
provide the functionality I have in mind. Yet I wanted to poke a
question to find out if it will be worth the effort to put together a
class library for .net framework that provides methods to automate
calculus concepts.
Things like Comuting Area , Arc Length , Surface Area, Volume (Disks
and Washers), Differntials, Definite Integrals, etc etc
Asad
- 6
- Dotnet >> Print PDFHow to print a PDF file from .NET ?
If I have a normal PDF file how kan I Print the file to a printer using .NET ?
Best Regards
Kim
- 7
- Visual C#.Net >> Windows Communication FrameworkHi,
I have recently published an article on WCF at CodeProject
http://www.codeproject.com/useritems/edujini_wcf_scart_01.asp
It would be great the experts can provide a feedback on the same. Please
note that this is my first article in the series. I have submitted Part-2 to
the editorial team. Simultaneously, I have also posted it at Eduzine
http://eduzine.edujinionline.com/
DirectLink:
http://eduzine.edujinionline.com/index.php?/archives/22-Exploring-Windows-Communication-Foundation-Part-2.html
Hoping that I met some quality standards... :)
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
- 8
- Net Framework >> I can't open .net web application from VS. NET 2003I try to open one .net based web application from VS.Net 2003 in my Windows
2K server, get following error message "Visual Studio .NET has detected that
the specified Web server is not running ASP.NET version 1.1" and also tried
to command line command aspnet_iisreg /i and aspnet_iisreg /r but didn't
work.
Could somebody give me some idea to solve this issue? Thanks a lot!
- 9
- Dotnet >> ASp.NET using WMI and C#Hi
I am looking for examples that would allow me to develop an ASp.net web application using WMI and C#
Eventually I need to copy and and launch an Exe on a Remote machine
Any help in this matter is appreciated
Regards
PRM
- 10
- Visual C#.Net >> Setup Project Prereq'sI am building a Setup Project in Visual Studio 2008 for a project which only
requires .NET Framework 2.0. When I build the Setup Project and attempt to
utilize the .MSI file created by the Setup Project, the computer complains
that .NET Framework 3.5 is required to run the setup. Can I configure the
Setup Project to be built using .NET Framework 2.0 instead of 3.5? The end
result is that my machines have 2.0 installed and I don't need 3.5 for the
application I am trying to install?
- 11
- Visual C#.Net >> convert date to ticksHow to convert a given date to its equvalent ticks.:
string d="5/15/2006 12:10:44 PM";
// string 2 date ...
dt=Convert.ToDateTime(d);
// Date 2 ticks ...
dt2ticks=dt.Ticks;
string ticks = Convert.ToString(dt2ticks);
Console.WriteLine("Input date: {0} Ticks: {1} ",d, ticks);
Though there is no error, I get the wrong ticks:
632832918440000000
This ticks number is used to query AD: last logon time (ADSI) and it is
not giving correct results.
I was trying to build a small console apps where in the date in
mm/dd/yyyy format is a command line parameter and the apps prints out
the equvalent ticks ???
- 12
- Microsoft Project >> Project Comparison ColumnWhen I do a Project Comparison, I can no longer see the column with
the symbols. The "+" & "-" in green and red no longer appear.
Any idea how I can make this column appear again???
Thanks!
J
- 13
- Dotnet >> Are these files virus? Can I delete them?Ther are tons of files in the WINDOWS foler of my Winsow XP. They all look
similar. For Example:
KB308304
KB009800
KB476855
...
or something like:
Q123344
Q574485
Q955848
...
What are they? Are they continue to grow in numbers ? How can my PC handle
this if you they continue growing? Can I delete them? Are they Virus?
Some body help me. Thank you
--
Alex
- 14
- 15
- Winforms >> Manifest QuestionThe Manifest in WinXp works fine but in win2000 doesnt seem to work...
Is it posssible to give Xp look in Win2000?
Thank You!!!
ONE FINAL VICTORY PORTUGAL :)
|
|
|