|
Sprocs are compiled and then stored. queries have to be compiled every time.
|
|
|
|
|
|
oow...i see. Back in the old days when I learned sql server (4.1 or so) they where faster. sorry!
|
|
|
|
|
Wasn't exactly sure where to put this question...
We are currently using Programmers File Editor (which hasn't had an update since 1999 I think) to edit and view large and small data files before processing. Since moving to 2008 R2 it's been acting up a bit and will just close and other normal not supported software behavior. The key features I'm looking for is the ability to view files with large rows (col count over 35,000), checking for updated files before saving (basically have a file open twice, make changes in both places it should notify you that the file has changed before the second save happens), and kinda going with the last, notifying you of file changes if you move off it and go back (drop focus then gain focus), displaying row and col position is very handy as well.
Thanks!
|
|
|
|
|
Notepad++ should do all of that for you.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Just tried it, and it overwrote the file changes without asking...
This check before saving thing is basically because of one file that should be a database table.
Thanks for the suggestion though...
|
|
|
|
|
Visual Studio will handle this for you admirably (you can use the free versions if necessary). If a file is updated, VS will notify you and ask if you want to reload it.
|
|
|
|
|
I have also found EmEditor, just need to test it out a bit. However yes apparently I could use VS as a text editor, though I haven't tested it yet on the file that is 77,000 columns. Basically it's a data file all on one line with 74 white spaces defining a page break.
|
|
|
|
|
I use either ConText or gVim for all my 'text' file needs. VS will do it and sometimes better but it just takes to dang long to load.
Jack of all trades, master of none, though often times better than master of one.
|
|
|
|
|
I have been using UltraEdit for years; it's very fast at handling huge files, has a variety of modes for various programming languages' syntax, xml, csv files, etc.
Does auto-save, auto-notify if a file is changed, supports multiple same-file edits, and about a million other features. imho very reasonably priced. It integrates with other IDM products like UltraCompare and UltraFinder.
They have trial versions you can test [^].
“I speak in a poem of the ancient food of heroes: humiliation, unhappiness, discord. Those things are given to us to transform, so that we may make from the miserable circumstances of our lives things that are eternal, or aspire to be so.” Jorge Luis Borges
|
|
|
|
|
when I connected my modem there are 2 ports. but how can I detect that which is data port and which is voice port by C#.net coding?
|
|
|
|
|
Since you're asking about the functionality of a very specific piece of hardware that most people are not going to have access to or experience with, your single BEST source of information is going to be the support forums of the company that made the modem.
|
|
|
|
|
|
|
I've set (or get) the background color NavBar Control but it isn't ? you see code below.
set background color NavBar Control:
navBarControl1.Appearance.GroupBackground.BackColor = Color.White;
navBarControl1.BackColor = Color.White;
or get background color NavBar Control:
System.Drawing.Color c1 = navBarControl1.Appearance.GroupBackground.BackColor;
System.Drawing.Color c2 = navBarControl1.BackColor;
webBrowser1.Document.BackColor = c1;
webBrowser2.Document.BackColor = c2;
do you know set or get the background color NavBar ?
|
|
|
|
|
Since you apparently purchased a very expensive software suite to use this component, why not take advantage of the DevExpress support forums, and ask a question there, or, perhaps, find your question already answered here: [^], and here: [^].
“Use the word 'cybernetics,' Norbert, because nobody knows what it means. This will always put you at an advantage in arguments.” Claude Shannon (Information Theory scientist): letter to Norbert Weiner of M.I.T., circa 1940
|
|
|
|
|
Hello,
I'm trying to load this site http://www.terra.com.br, an object webBrowser with WindowsForm,
but not loads, is only thinking someone would know how to please
webBrowser1.Navigate("http://www.terra.com.br");
Thanks
William
|
|
|
|
|
It's impossible to tell you anything useful from what you posted.
There isn't anything wrong with the code as far as I can tell and you haven't given a description of what is happening when you go to that site, other than "it doesn't work". That isn't very helpful at all.
|
|
|
|
|
Thanks for the reply.
I just want to load the site described in webbrowser, for example if I upload http://www.globo.com works perfectly if I put http://www.terra.com.br it does not load the site is only Loading before worked but change the layout of the site and loads more I downloaded this project here on CodeProject and the same thing happens
http://www.codeproject.com/Articles/60179/Web-Browser-in-C
thank you
William
|
|
|
|
|
I couldn't tell you why it doesn't show up. I don't have access to it from work.
The WebBrowser control is a kind of wrapper around the rendering engine of the version of Internet Explorer you have installed on your machine. It's not a 100% working version of IE or a web browser. It has it's limitations.
For example, if the version of IE you have installed is IE9, the rendering engine the webbrowser control uses will look like, the the website your browsing, IE7. The rendering engine is common to IE versions 7 through 9.
If you have IE6 installed, it gets worse. You're actually using the rendering engine that come in IE 4!
Open your application and have it navigate to http://www.whatsmyuseragent.com[^] and you can see how websites see your application.
|
|
|
|
|
ok, this was the answer,
Your User Agent String is:
Mozilla/4.0 (compatible, MSIE 7.0, Windows NT 6.1; WOW64; Trident/7.0; SLCC2;. NET CLR 2.0.50727;. NET CLR 3.5.30729;. NET CLR 3.0.30729; Media Center PC 6.0;. NET4. 0C;. NET4.0E; InfoPath.3), simulated in IE7 and the same thing happened, then the problem is there, I have to force the webbrowser to simulate a more recent version of IE, I have the latest version on my machine. How do you know?
thank you
|
|
|
|
|
thank you very much.
this link shows the resolution the problem was the same, he simulates previous version, I forced him to simulate the current version
http://weblog.west-wind.com/posts/2011/May/21/Web-Browser-Control-Specifying-the-IE-Version
thank you very much
|
|
|
|
|
Hi,
I’ve one issue which is causing a problem at production. I’ve web service written in ASP.net and issue is related to the session management. When there are 2 or more session running simultaneously then application is not able to detect the subsequent requests from respective sessions and responding the data of one session to the other session’s request. This is happening randomly so there is no certain way to produce it. The way I have done the session coding is to create session when user login’s and store its respective data in session so that when that data is required it should respond it quickly and not fetching data from backend at that time. I cannot afford to avoid the session and send new request to back end all the time. Most of our applications are working on same architecture. When login function is called then first I empty the session variable and then after successful authentication I create new session and stores the data in it.
Please let me know, how I can resolve this issue. Any help is greatly appreciated.
Thanks,
Ruchika
|
|
|
|
|
You would have better luck asking in the ASP.NET forum.
|
|
|
|
|
Hi all, I am using the following code to change startup type of a windows service.
string MyserviceName = "Test Service1";
ServiceController servicen = new ServiceController(MyserviceName);
string ServiceName = servicen.ServiceName.ToString();
string startupType = "Automatic";
ManagementPath myPath = new ManagementPath();
ManagementBaseObject outParams = null;
myPath.Server = System.Environment.MachineName;
myPath.NamespacePath = @"root\CIMV2";
myPath.RelativePath = "Win32_Service.Name='" + ServiceName + "'";
using (ManagementObject service = new ManagementObject(myPath))
{
// Set startmode to Automatic (auto start at boot )
ManagementBaseObject inputArgs = service.GetMethodParameters("ChangeStartMode");
inputArgs["startmode"] = startupType;
outParams = service.InvokeMethod("ChangeStartMode", inputArgs, null);
}
But, I am getting a InvalidCastException as "Specified cast is not valid" error at service.GetMethodParameters("ChangeStartMode");
Please help me.
|
|
|
|