instruction
stringlengths
14
27.6k
completion
stringlengths
3
38.3k
__original_row_idx
int64
0
50k
conversations
listlengths
2
2
Does anyone know which versions of sqlserver2008 supports snapshot isolation?
Snapshot isolation in SQL Server is supported in the following editions of SQL Server 2008: 1. **SQL Server 2008 Standard Edition** 2. **SQL Server 2008 Enterprise Edition** 3. **SQL Server 2008 Developer Edition** 4. **SQL Server 2008 Express Edition (with limitations)** To enable snapshot isolation, you need to set...
33,487
[ { "from": "human", "value": "Does anyone know which versions of sqlserver2008 supports snapshot isolation?\n" }, { "from": "gpt", "value": "Snapshot isolation in SQL Server is supported in the following editions of SQL Server 2008:\n\n1. **SQL Server 2008 Standard Edition**\n2. **SQL Server 2008...
I'm trying to set up AutoHotkey macros for some common tasks, and I want the hotkeys to mimic Visual Studio's "two-step shortcut" behaviour - i.e. pressing Ctrl-K will enable "macro mode"; within macro mode, pressing certain keys will run a macro and then disable 'macro mode', and any other key will just disable macro ...
Certainly! Below is an example of an AutoHotkey script that implements the "two-step shortcut" behavior similar to what you described for Visual Studio. In this example, pressing `Ctrl-K` activates "macro mode", and if you press `D`, it will insert today's date. Pressing any other key will exit "macro mode" without ins...
28,085
[ { "from": "human", "value": "I'm trying to set up AutoHotkey macros for some common tasks, and I want the hotkeys to mimic Visual Studio's \"two-step shortcut\" behaviour - i.e. pressing Ctrl-K will enable \"macro mode\"; within macro mode, pressing certain keys will run a macro and then disable 'macro mode...
I am implementing a class to compare directory trees (in C#). At first I implemented the actual comparison in the class's constructor. Like this: DirectoryComparer c = new DirectoryComparer("C:\\Dir1", "C:\\Dir2"); But it doesn't feel "right" to do a possible lengthy operation in the constructor. An alternative way is...
Your intuition about performing lengthy operations in a constructor is correct. It's generally best practice to keep constructors lightweight, focusing on initializing the object rather than performing potentially time-consuming operations. A long-running operation in a constructor can lead to a negative user experienc...
29,353
[ { "from": "human", "value": "I am implementing a class to compare directory trees (in C#). At first I implemented the actual comparison in the class's constructor. Like this:\nDirectoryComparer c = new DirectoryComparer(\"C:\\\\Dir1\", \"C:\\\\Dir2\");\n\nBut it doesn't feel \"right\" to do a possible lengt...
using the Symbian S60 5th edition SDK released on October 2nd, I am compiling/running(on sim) the following code snippet: void test(wchar_t *dest, int size, const wchar_t *fmt, ...) { va_list vl; va_start(vl, fmt); vswprintf(dest, size, fmt, vl); va_end(vl); } ... wchar_t str[1024]; // this crashes (...
The issue you're experiencing with the `vswprintf` function crashing on Symbian's S60 5th edition SDK is likely related to how `vswprintf` handles buffer sizes and string formatting, particularly with wide character strings. ### Potential Reasons for Crash 1. **Buffer Size**: The `size` parameter in `vswprintf` is exp...
27,636
[ { "from": "human", "value": "using the Symbian S60 5th edition SDK released on October 2nd, I am compiling/running(on sim) the following code snippet:\nvoid test(wchar_t *dest, int size, const wchar_t *fmt, ...) {\n va_list vl;\n va_start(vl, fmt);\n vswprintf(dest, size, fmt, vl);\n va_end(vl);...
When I build a site I tend to do a bit of graphic design (developer style) in Paint.NET, but how do I know the colors will all display properly on all browsers on different machines? What color depth to you generally code for? 16bit 256 colors etc.
When building a site and using graphic design tools like Paint.NET, ensuring that colors display consistently across different browsers and machines can be a challenge. Here are some tips to help you achieve good color consistency: ### Color Depth 1. **24-bit Color (True Color):** This is the most commonly used color ...
30,070
[ { "from": "human", "value": "When I build a site I tend to do a bit of graphic design (developer style) in Paint.NET, but how do I know the colors will all display properly on all browsers on different machines? What color depth to you generally code for? 16bit 256 colors etc.\n" }, { "from": "gpt",...
As far as I can tell there's no simple way of retrieving a character offset from a TextRange object in Internet Explorer. The W3C Range object has a node, and the offset into the text within that node. IE seems to just have pixel offsets. There are methods to create, extend and compare ranges, so it would be possible t...
In Internet Explorer, the `TextRange` object does not provide a straightforward way to retrieve a character offset like the W3C `Range` object does. However, you can still calculate the character offset of a `TextRange` by using the properties of the `TextRange` itself. Here's a step-by-step guide to calculate the cha...
28,191
[ { "from": "human", "value": "As far as I can tell there's no simple way of retrieving a character offset from a TextRange object in Internet Explorer. The W3C Range object has a node, and the offset into the text within that node. IE seems to just have pixel offsets. There are methods to create, extend and ...
I need to replace the standard Overflow function in a ToolStrip to a "More..." button which would then pop up a menu with the overflowed items. Does anyone have any ideas about how to accomplish this?
Replacing the standard overflow function in a `ToolStrip` with a custom "More..." button that displays a popup menu with the overflowed items is a common customization in WinForms applications. Below is an example of how to accomplish this. ### Step-by-Step Implementation 1. **Create a ToolStrip**: Create your `ToolS...
24,436
[ { "from": "human", "value": "I need to replace the standard Overflow function in a ToolStrip to a \"More...\" button which would then pop up a menu with the overflowed items. Does anyone have any ideas about how to accomplish this?\n" }, { "from": "gpt", "value": "Replacing the standard overflow...
I am currently trying to create a win32 service using pywin32. My main point of reference has been this tutorial: http://code.activestate.com/recipes/551780/ What i don't understand is the initialization process, since the Daemon is never initialized directly by Daemon(), instead from my understanding its initialized b...
To initialize your Win32 service (daemon) before running the service itself, you can modify your `Daemon` class to include an initialization step that is executed when you instantiate your `Daemon` class, not when the service starts running. Here’s one approach you can take: 1. **Add an Initialization Method:** Creat...
29,622
[ { "from": "human", "value": "I am currently trying to create a win32 service using pywin32. My main point of reference has been this tutorial:\nhttp://code.activestate.com/recipes/551780/\nWhat i don't understand is the initialization process, since the Daemon is never initialized directly by Daemon(), inst...
I have a web page x.php (in a password protected area of my web site) which has a form and a button which uses the POST method to send the form data and opens x.php#abc. This works pretty well. However, if the users decides to navigate back in Internet Explorer 7, all the fields in the original x.php get cleared and ev...
The issue you're experiencing with Internet Explorer 7 clearing form data when users navigate back to `x.php` is a common problem, particularly with older versions of browsers like IE7. The caching headers you're trying to set are intended to help the browser cache the page appropriately, but IE7 has its own quirks and...
28,074
[ { "from": "human", "value": "I have a web page x.php (in a password protected area of my web site) which has a form and a button which uses the POST method to send the form data and opens x.php#abc. This works pretty well.\nHowever, if the users decides to navigate back in Internet Explorer 7, all the field...
I have an http handler (.ashx) that I use to display an image or swf or flv based on the id. So, for instance http://www.example.com/myHandler.ashx?id=1234 it displays the image for id 1234. I am using this as a source for an image tag or swf loader or video display in flex. In my handler if the item is a video I just ...
Redirecting to a streaming server using RTMP (Real-Time Messaging Protocol) from an HTTP handler (ASHX) is not straightforward. The primary reason is that web browsers and many web-based clients typically only handle HTTP(S) redirects. When you return a redirect response from your ASHX handler, it will only understand ...
29,033
[ { "from": "human", "value": "I have an http handler (.ashx) that I use to display an image or swf or flv based on the id. So, for instance http://www.example.com/myHandler.ashx?id=1234 it displays the image for id 1234. I am using this as a source for an image tag or swf loader or video display in flex. In ...
When using __import__ with a dotted name, something like: somepackage.somemodule, the module returned isn't somemodule, whatever is returned seems to be mostly empty! what's going on here?
When you use the `__import__()` function in Python with a dotted name like `somepackage.somemodule`, the behavior can be a bit confusing if you're not familiar with how the import system works. The `__import__()` function is designed to return the top-level package or module that you specified, not necessarily the inn...
30,324
[ { "from": "human", "value": "When using __import__ with a dotted name, something like: somepackage.somemodule, the module returned isn't somemodule, whatever is returned seems to be mostly empty! what's going on here?\n" }, { "from": "gpt", "value": "When you use the `__import__()` function in P...
When I merge the trunk into a feature-branch, a delete that occurred on the trunk will not be replicated to my working copy. Why will a delete on trunk not delete the same file on a branch when merging? I'm using subversion 1.5 client and server. I'm assuming that changes to the file in the branch will be skipped when...
The behavior you're observing when merging in Subversion (SVN) is related to how merges are designed to work, particularly with regards to changes that occurred on the trunk after you created your feature branch. ### Why a Delete on Trunk Does Not Delete in Your Branch When you merge changes from the trunk into your ...
27,730
[ { "from": "human", "value": "When I merge the trunk into a feature-branch, a delete that occurred on the trunk will not be replicated to my working copy.\nWhy will a delete on trunk not delete the same file on a branch when merging? \nI'm using subversion 1.5 client and server.\nI'm assuming that changes to...
First of all there is a partial question regarding this, but it is not exactly what I'm asking, so, bear with me and go for it. My question is, after looking at what SubSonic does and the excellent videos from Rob Connery I need to ask: Shall we use a tool like this and do Inline queries or shall we do the queries usin...
Choosing between using an ORM like SubSonic or NHibernate versus sticking to traditional stored procedures for database access depends on several factors specific to your project and your team's preferences. Here are some considerations to help you make your decision: ### Using an ORM (like SubSonic or NHibernate) **...
25,896
[ { "from": "human", "value": "First of all there is a partial question regarding this, but it is not exactly what I'm asking, so, bear with me and go for it.\nMy question is, after looking at what SubSonic does and the excellent videos from Rob Connery I need to ask: Shall we use a tool like this and do Inli...
I am a self-taught embedded developer. I mostly use AVRs programmed in C and ASM, but I have dabbled with other systems. I am looking to move onto more complex devices like CPLDs and FPGAs, but I have no idea where to start. So my one and a half questions are: Do you prefer VHDL or Verilog and why? What is a good way ...
It's great to hear that you're interested in expanding your skills into CPLDs and FPGAs! Both VHDL and Verilog are widely used hardware description languages (HDLs) for designing digital systems, and the choice between the two often depends on personal preference and specific project requirements. ### VHDL vs. Verilo...
25,912
[ { "from": "human", "value": "I am a self-taught embedded developer. I mostly use AVRs programmed in C and ASM, but I have dabbled with other systems. I am looking to move onto more complex devices like CPLDs and FPGAs, but I have no idea where to start. So my one and a half questions are:\n\nDo you prefer V...
Anyone know of a good free winforms html editor for .NET. Ideally I would like html and preview modes along with the possibility of exporting to a pdf, word doc or similar. Although the export I could probably create myself from the html output. Another nice feature would be a paste from word that removes all the extr...
There are several options for WinForms HTML editors in .NET that might suit your needs. While they may not meet all your requirements perfectly, here are a few popular ones to consider: 1. **CkEditor.NET**: - CkEditor is a well-known HTML editor that offers a WinForms wrapper. It supports features like HTML editing...
29,612
[ { "from": "human", "value": "Anyone know of a good free winforms html editor for .NET. Ideally I would like html and preview modes along with the possibility of exporting to a pdf, word doc or similar. \nAlthough the export I could probably create myself from the html output.\nAnother nice feature would be ...
Can anyone give me a complete list of string manipulation function in Microsoft SQL Server (2000 or 2005)? (I don't need a lecture about doing all my string processing in the presentation layer. And, I don't need a list of MySQL string functions.) Thanks!
Certainly! Below is a list of string manipulation functions available in Microsoft SQL Server 2000 and 2005: ### SQL Server 2000/2005 String Functions 1. **LEN()**: Returns the number of characters in a string, excluding trailing spaces. ```sql SELECT LEN('Hello World') AS Length; ``` 2. **LOWER()**: Conver...
22,022
[ { "from": "human", "value": "Can anyone give me a complete list of string manipulation function in Microsoft SQL Server (2000 or 2005)?\n(I don't need a lecture about doing all my string processing in the presentation layer. And, I don't need a list of MySQL string functions.)\nThanks!\n" }, { "fr...
How do I tell if my application (compiled in Visual Studio 2008 as Any CPU) is running as a 32-bit or 64-bit application?
To determine whether your application compiled in Visual Studio 2008 with the "Any CPU" setting is running as a 32-bit or 64-bit application, you can use several methods: ### Method 1: Check Using Task Manager 1. **Run your application.** 2. **Open Task Manager** by right-clicking on the taskbar and selecting "Task M...
30,418
[ { "from": "human", "value": "How do I tell if my application (compiled in Visual Studio 2008 as Any CPU) is running as a 32-bit or 64-bit application?\n" }, { "from": "gpt", "value": "To determine whether your application compiled in Visual Studio 2008 with the \"Any CPU\" setting is running as ...
I remember reading a post about a year or so ago by Scott Hanselman (maybe by scott guthrie) about how Linq evolved. It remember it showing that anyonymous types led to lambda expressions which then led to Linq in some way. I can't seem to find it on google. Does anyone else remember this post? If so, can you pleas...
While I cannot browse the internet or retrieve specific blog posts, I can provide you with a summary of how LINQ (Language Integrated Query) evolved and how concepts like anonymous types and lambda expressions played a role in its development. The evolution of LINQ can be broken down into several key components: 1. *...
32,082
[ { "from": "human", "value": "I remember reading a post about a year or so ago by Scott Hanselman (maybe by scott guthrie) about how Linq evolved. It remember it showing that anyonymous types led to lambda expressions which then led to Linq in some way. I can't seem to find it on google. Does anyone else ...
I am using the wysiwyg editor TinyMCE and I have stripped out most of the functions to create a simpler version. However, I need the make the formatting as basic as possible as well, e.g., instead of <p> tags i need to use <br /> tags. Also, I would like it to not convert ' in &rsquo; as I will be using the output in F...
To customize TinyMCE according to your specifications, you can modify its configuration options. Below are some key steps to achieve the desired outcome: ### 1. Basic Configuration You can initialize TinyMCE with a minimal configuration that only includes the basic text formatting options you want to keep (bold, ital...
29,352
[ { "from": "human", "value": "I am using the wysiwyg editor TinyMCE and I have stripped out most of the functions to create a simpler version. However, I need the make the formatting as basic as possible as well, e.g., instead of <p> tags i need to use <br /> tags. Also, I would like it to not convert ' in &...
In a corporate development environment writing mostly administrative software, should every developer use their own database instance, or should they use a central database instance during development? What are the advantages and disadvantages of each approach? What about other environments and other products?
The decision to use individual database instances versus a central database instance in a corporate development environment depends on various factors, including team size, project complexity, development workflow, and the nature of the software being developed. Let's explore the advantages and disadvantages of both ap...
23,815
[ { "from": "human", "value": "In a corporate development environment writing mostly administrative software, should every developer use their own database instance, or should they use a central database instance during development? What are the advantages and disadvantages of each approach? What about other ...
My team is considering building our next web app using the ASP.NET MVC framework. I am slightly hesitant, as are some others, because it is still only in beta. I really want to dive in because it seems to be a great way of providing clear separation of concerns and improving testability. Should I take the plunge no...
Your concern about using a framework that's still in beta is valid, and it's important to weigh the risks and benefits of moving forward with a beta product versus waiting for a stable release. Here are some points to consider: ### Pros of Using ASP.NET MVC in Beta: 1. **Early Adoption Benefits**: By adopting a beta ...
29,477
[ { "from": "human", "value": "My team is considering building our next web app using the ASP.NET MVC framework. I am slightly hesitant, as are some others, because it is still only in beta. I really want to dive in because it seems to be a great way of providing clear separation of concerns and improving t...
I have a copy of emacs that I use on a couple of different (windows) computers from a thumb drive, and I am wondering if it is possible to create something that is sort of the equivalent of a bash alias or symlink within emacs? Something that I could use within find-file is the main thing that i'm looking for, so for e...
You can achieve a similar effect to symlinks or aliases within Emacs by leveraging the `find-file` function to set up "shortcuts" for your commonly used directories or files. While you can't create true symlinks or aliases that are consistent across machines directly in Emacs, you can set up a more flexible method that...
25,179
[ { "from": "human", "value": "I have a copy of emacs that I use on a couple of different (windows) computers from a thumb drive, and I am wondering if it is possible to create something that is sort of the equivalent of a bash alias or symlink within emacs? Something that I could use within find-file is the ...
Ok, this probably has a really simple answer, but I've never tried to do it before: How do you launch a web page from within an app? You know, "click here to go to our FAQ", and when they do it launches their default web browser and goes to your page. I'm working in C/C++ in Windows, but if there's a broader, more port...
Launching a web page from within a C/C++ application can be done using a variety of methods. Below, I'll outline approaches for both Windows specifically and general methods that could be more portable across different operating systems. ### Windows-Specific Method In Windows, you can use the `ShellExecute` function ...
27,229
[ { "from": "human", "value": "Ok, this probably has a really simple answer, but I've never tried to do it before: How do you launch a web page from within an app? You know, \"click here to go to our FAQ\", and when they do it launches their default web browser and goes to your page. I'm working in C/C++ in W...
We have a simple registration form for our website users where we only require an e-mail address and a password (both repeated twice to make sure they are correct). We require that the user confirm their e-mail accounts by clicking a link in an e-mail. We see that a lot of users don't bother following the link in the e...
Yes, the phenomenon you're experiencing, where a significant percentage of users do not complete email confirmation for account activation, is quite common across many websites. While exact statistics can vary by industry and type of website, studies and surveys have shown that email activation rates typically range fr...
30,424
[ { "from": "human", "value": "We have a simple registration form for our website users where we only require an e-mail address and a password (both repeated twice to make sure they are correct). We require that the user confirm their e-mail accounts by clicking a link in an e-mail.\nWe see that a lot of user...
I'm a little unsure how the open source licensing stuff works. If I were to choose a particular open source license, what do you actually have to do to make it applicable to your software? I would imagine it would be a little more involved than just 'stating' that you're releasing your software under LGPL. And how d...
Choosing an open source license for your software is an important decision, and it's great that you want to understand the implications and processes involved in doing so. Here’s a breakdown of how to properly apply an open source license to your software and how it functions legally: ### Steps to Apply an Open Source...
30,104
[ { "from": "human", "value": "I'm a little unsure how the open source licensing stuff works. If I were to choose a particular open source license, what do you actually have to do to make it applicable to your software? I would imagine it would be a little more involved than just 'stating' that you're relea...
Cut a short story even shorter, Have a asp.net page with MaintainScrollPositionOnPostback="true" in the page directive (And I tried setting the same to true in page_load), but I get the above javascript error (Webform_SaveScrollPositionSubmit is not defined) and im guessing the page dosent scroll because that js funct...
You have an ASP.NET page with `MaintainScrollPositionOnPostback="true"` set in the page directive, but you're encountering a JavaScript error: `Webform_SaveScrollPositionSubmit is not defined`. This prevents the page from scrolling properly after a postback. You are using ASP.NET 2.0 and Firefox 3, and the issue pers...
31,717
[ { "from": "human", "value": "Cut a short story even shorter, Have a asp.net page with MaintainScrollPositionOnPostback=\"true\" in the page directive (And I tried setting the same to true in page_load), but I get the above javascript error (Webform_SaveScrollPositionSubmit is not defined) and im guessing t...
I would like to do full-text searching of data in my Ruby on Rails application. What options exist?
In a Ruby on Rails application, there are several options for implementing full-text search functionality. Here are some popular choices: 1. **ActiveRecord Full-Text Search (PostgreSQL)**: If you are using PostgreSQL, you can leverage its built-in full-text search capabilities. You can use the `tsvector` data type ...
14,653
[ { "from": "human", "value": "I would like to do full-text searching of data in my Ruby on Rails application. What options exist?\n" }, { "from": "gpt", "value": "In a Ruby on Rails application, there are several options for implementing full-text search functionality. Here are some popular choi...
I am looking for pointers to the solution of the following problem: I have a set of rectangles, whose height is known and x-positions also and I want to pack them in the more compact form. With a little drawing (where all rectangles are of the same width, but the width may vary in real life), i would like, instead of. ...
Packing rectangles in a compact form is a classic problem often referred to as the "rectangle packing" or "2D bin packing" problem. Since your rectangles have known heights and x-positions, but their widths can vary, you can consider several approaches to achieve a more compact arrangement. Here are some pointers and s...
27,275
[ { "from": "human", "value": "I am looking for pointers to the solution of the following problem: I have a set of rectangles, whose height is known and x-positions also and I want to pack them in the more compact form. With a little drawing (where all rectangles are of the same width, but the width may vary ...
Sometimes gdb prints "incomplete type" for some type of variables. What does this mean and how can we see that value?
In the context of the GNU Debugger (gdb), an "incomplete type" refers to a data type that has been declared but not fully defined. This typically occurs in scenarios involving structures, unions, and arrays that have incomplete definitions at the time of inspection. ### What Causes Incomplete Types? 1. **Structs and ...
28,514
[ { "from": "human", "value": "Sometimes gdb prints \"incomplete type\" for some type of variables. What does this mean and how can we see that value?\n" }, { "from": "gpt", "value": "In the context of the GNU Debugger (gdb), an \"incomplete type\" refers to a data type that has been declared but ...
Some of my users are complaining about some odd errors my installers had after downloading them from my web server. This are NSIS installer that when downloaded came crippled or incomplete (usually because of slow Internet connections), the message is very clear "The installer you are trying to use is corrupted or inco...
To change the error messages for your NSIS installer when the installer file is corrupted or incomplete, you'll need to customize the NSIS error messages by using the `LangString` directive in your installer script. Here are the steps to customize the error message for Spanish speakers: 1. **Set the Language**: Ensur...
30,127
[ { "from": "human", "value": "Some of my users are complaining about some odd errors my installers had after downloading them from my web server.\nThis are NSIS installer that when downloaded came crippled or incomplete (usually because of slow Internet connections), the message is very clear \"The installer...
Enterprise Architect has a way to generate the documentation in HTML/RTF/etc. that you could publish, but you have to use its GUI to do that manually. When you have your *.eap files in a CVS/Subversion server, it would be useful to have a script that would check out daily the latest version and publish it in a web serv...
Automating the documentation generation from Enterprise Architect (EA) without writing code can be a challenge, especially since EA does not provide a native command line utility. However, using the COM interface can indeed be an effective way to achieve your goal, although it does typically involve some programming. I...
30,363
[ { "from": "human", "value": "Enterprise Architect has a way to generate the documentation in HTML/RTF/etc. that you could publish, but you have to use its GUI to do that manually. When you have your *.eap files in a CVS/Subversion server, it would be useful to have a script that would check out daily the la...
I have a device driver I want to patch. This device driver calls IOLog and I want to get rid of the logging. If I replace the CALLL to IOLog with (the corresponding number of) NOPs inside the device driver (kext), the kernel crashes with what looks like a smashed stack ("Backtrace terminated-invalid frame pointer 0"). ...
The difference in behavior you are encountering between user-space applications and kernel extensions (kexts) likely stems from several important considerations related to the kernel's execution environment and function calls. ### Reasons Why NOP Patching May Fail in Kernel Context: 1. **Stack Frame Management**: ...
27,912
[ { "from": "human", "value": "I have a device driver I want to patch.\nThis device driver calls IOLog and I want to get rid of the logging.\nIf I replace the CALLL to IOLog with (the corresponding number of) NOPs inside the device driver (kext), the kernel crashes with what looks like a smashed stack (\"Back...
I want to examine the contents of a std::vector in GDB, how do I do it? Let's say it's a std::vector<int> for the sake of simplicity.
To examine the contents of a `std::vector<int>` in GDB (GNU Debugger), you can follow these steps. I'll assume you're working with a standard C++ setup and you have a `std::vector<int>` variable you want to inspect. ### Steps to Inspect a `std::vector<int>` in GDB: 1. **Start GDB**: Begin by running GDB with your com...
27,078
[ { "from": "human", "value": "I want to examine the contents of a std::vector in GDB, how do I do it? Let's say it's a std::vector<int> for the sake of simplicity.\n" }, { "from": "gpt", "value": "To examine the contents of a `std::vector<int>` in GDB (GNU Debugger), you can follow these steps. ...
Is there a way to download older versions of Visual C++ Express? I'm particularly interested in Visual C++ 2005 Express (PRIOR SP1) and Visual C++ Toolkit 2003. I tried googling for them, but all the sites linked to microsoft.com, from where microsoft (for some reason) has taken them down.
Finding older versions of software, such as Visual C++ 2005 Express and Visual C++ Toolkit 2003, can be challenging, especially since Microsoft no longer hosts these downloads directly on their website. However, here are some suggestions for obtaining these older versions: 1. **Archived Versions**: Websites like the I...
30,002
[ { "from": "human", "value": "Is there a way to download older versions of Visual C++ Express? I'm particularly interested in Visual C++ 2005 Express (PRIOR SP1) and Visual C++ Toolkit 2003. I tried googling for them, but all the sites linked to microsoft.com, from where microsoft (for some reason) has taken...
If I had the following select, and did not know the value to use to select an item in advance like in this question or the index of the item I wanted selected, how could I select one of the options with jQuery if I did know the text value like Option C? <select id='list'> <option value='45'>Option A</option> <option va...
If you want to select an option from a dropdown (`<select>`) based on the visible text of the option (for instance, "Option C") using jQuery, you can do so by using the `filter()` function. Here is how you can achieve that: ```javascript $('#list option').filter(function() { return $(this).text() === 'Option C'; }...
30,754
[ { "from": "human", "value": "If I had the following select, and did not know the value to use to select an item in advance like in this question or the index of the item I wanted selected, how could I select one of the options with jQuery if I did know the text value like Option C?\n<select id='list'>\n<opt...
I'm looking for a way to convert a preprocessor token to a string. Specifically, I've somewhere got: #define MAX_LEN 16 and I want to use it to prevent buffer overrun: char val[MAX_LEN+1]; // room for \0 sscanf(buf, "%"MAX_LEN"s", val); I'm open to other ways to accomplish the same thing, but standard library only.
To convert a preprocessor token to a string for use in formatting functions like `sscanf`, you can use the stringizing operator `#` in the macro definition. However, since `MAX_LEN` is an integer and you're looking to use its value in a format specifier, you'll need to create a small workaround to achieve this. Here's...
27,628
[ { "from": "human", "value": "I'm looking for a way to convert a preprocessor token to a string.\nSpecifically, I've somewhere got:\n#define MAX_LEN 16\n\nand I want to use it to prevent buffer overrun:\nchar val[MAX_LEN+1]; // room for \\0\nsscanf(buf, \"%\"MAX_LEN\"s\", val);\n\nI'm open to other ways to a...
Where are variables in C++ stored? Inside the RAM or the processor's cache?
In C++, variables are primarily stored in RAM (Random Access Memory). When you declare variables in your program, the memory for those variables is allocated in one of several areas of RAM, depending on their type and scope: 1. **Stack**: Local variables (e.g., variables declared inside functions) are typically stored...
24,341
[ { "from": "human", "value": "Where are variables in C++ stored?\nInside the RAM or the processor's cache?\n" }, { "from": "gpt", "value": "In C++, variables are primarily stored in RAM (Random Access Memory). When you declare variables in your program, the memory for those variables is allocated...
Just out of curiosity, is there a name for the kind of navigation I've been working on? It looks like this: <<first <previous 1 2 3 4 5 [...] 20 next> last>> i.e. navigation where you've got x pages, but you don't want to show x links, you want to limit the amount of space taken up, so you show y links at a time, and i...
Yes, the type of pagination you are describing is commonly referred to as **"ellipsis pagination"** or **"pagination with ellipsis."** This approach is designed to improve usability by limiting the number of visible page links while still providing a clear indication that there are additional pages of content. By usi...
30,807
[ { "from": "human", "value": "Just out of curiosity, is there a name for the kind of navigation I've been working on?\nIt looks like this:\n<<first <previous 1 2 3 4 5 [...] 20 next> last>>\ni.e. navigation where you've got x pages, but you don't want to show x links, you want to limit the amount of space ta...
Where can I set the display name in the Service Control Manager of a c++ app?
In a C++ application that runs as a Windows service, you can set the display name for the service in the service's registration code. This is typically done when you install the service. The display name is what users see in the Services management console (`services.msc`). Here’s how to set the display name for your ...
28,889
[ { "from": "human", "value": "Where can I set the display name in the Service Control Manager of a c++ app?\n" }, { "from": "gpt", "value": "In a C++ application that runs as a Windows service, you can set the display name for the service in the service's registration code. This is typically done...
How can you detect if your sql-server 2005 instance is a 32 or 64 bit instance from C# code? If you know some documentation on this issue, please let me know.. Thanks!
To detect whether your SQL Server 2005 instance is running in 32-bit or 64-bit mode from C# code, you can query the `SERVERPROPERTY` function. Specifically, you can use the `Edition` property to determine the architecture of the SQL Server instance. Here’s a simple example of how to implement this in C#: ```csharp us...
29,167
[ { "from": "human", "value": "How can you detect if your sql-server 2005 instance is a 32 or 64 bit instance from C# code? If you know some documentation on this issue, please let me know..\nThanks!\n" }, { "from": "gpt", "value": "To detect whether your SQL Server 2005 instance is running in 32-...
What are the advantages/disadvantages of the major Ruby VMs (things like features, compatibility, performance, and quirks?) I know there are also some bonus features like being able to use Java interfaces through JRuby, too. Those would also be helpful to note. Does any VM have a clear advantage at this point, and in w...
Ruby has several virtual machines (VMs) that offer different features, performance characteristics, and compatibility with Ruby code. The most notable ones are MRI (Matz's Ruby Interpreter), JRuby, Rubinius, and TruffleRuby. Below, I'll outline the advantages and disadvantages of each VM in terms of features, compatibi...
18,494
[ { "from": "human", "value": "What are the advantages/disadvantages of the major Ruby VMs (things like features, compatibility, performance, and quirks?) I know there are also some bonus features like being able to use Java interfaces through JRuby, too. Those would also be helpful to note. Does any VM have ...
Is HTTPS Multipart file upload request a batch process? That is, if I have 99 files, and if the upload fails after file 95 has been uploaded, will that rollback the entire set?
The behavior of an HTTPS multipart file upload request in the context of a batch process largely depends on how the server-side application is designed to handle uploads. ### Standard Multipart Upload Behavior In a standard multipart file upload (using an HTTP POST request with `multipart/form-data`), each file is tre...
30,752
[ { "from": "human", "value": "Is HTTPS Multipart file upload request a batch process? That is, if I have 99 files, and if the upload fails after file 95 has been uploaded, will that rollback the entire set?\n" }, { "from": "gpt", "value": "The behavior of an HTTPS multipart file upload request in...
I have three closely related applications that are build from the same source code - let's say APP_A, APP_B, and APP_C. APP_C is a superset of APP_B which in turn is a superset of APP_A. So far I've been using a preprocessor define to specify the application being built, which has worked like this. // File: app_defines...
Using preprocessor directives like `#define` can lead to issues like the one you experienced, especially if you forget to include necessary headers. Instead, you might want to consider using a more structured approach to manage the application configurations. Here are some suggestions for improving your setup: ### 1. ...
27,721
[ { "from": "human", "value": "I have three closely related applications that are build from the same source code - let's say APP_A, APP_B, and APP_C. APP_C is a superset of APP_B which in turn is a superset of APP_A.\nSo far I've been using a preprocessor define to specify the application being built, which ...
template <class T> bool BST<T>::search(const T& x, int& len) const { return search(BT<T>::root, x); } template <class T> bool BST<T>::search(struct Node<T>*& root, const T& x) { if (root == NULL) return false; else { if (root->data == x) return true; else if(root-...
The error you are encountering arises from the incorrect handling of the `search` function overloads in your binary search tree (BST) class. Let's go through the issues and the appropriate fixes step-by-step. ### Issues: 1. **Member Function Overloading Confusion**: The `search` function is overloaded, and the compil...
27,528
[ { "from": "human", "value": "template <class T>\nbool BST<T>::search(const T& x, int& len) const\n{\n return search(BT<T>::root, x);\n}\n\n\ntemplate <class T>\nbool BST<T>::search(struct Node<T>*& root, const T& x)\n{\n if (root == NULL)\n return false;\n else\n {\n if (root->data...
I am just trying to dip my toes in this Ajax thing. I have a very basic question I have seen the UI plugin(http://interface.eyecon.ro/docs/drag) for jQuery, where you can drag and drop frames, stretch things, animate etc. So basically you get all the desktop features right in your web application. In the desktop world,...
To save the state of manipulated objects (like a draggable frame or a resized div) in a jQuery-based web application, you typically need to follow a few steps. Here’s a general outline of how you could achieve this: ### 1. Capture the State of the Objects You need to capture the properties of the objects you want to s...
27,267
[ { "from": "human", "value": "I am just trying to dip my toes in this Ajax thing. I have a very basic question\nI have seen the UI plugin(http://interface.eyecon.ro/docs/drag) for jQuery, where you can drag and drop frames, stretch things, animate etc. So basically you get all the desktop features right in y...
ASPX Code <asp:RadioButtonList ID="rbServer" runat="server" > <asp:ListItem Value=<%=ServerDeveloper%>> Developer </asp:ListItemv <asp:ListItem Value="dev.ahsvendor.com"> dev.test.com</asp:ListItem> <asp:ListItem Value="staging.ahsvendor.com"> staging.test.com</asp:ListItem> </asp:RadioButtonList> ASPX.CS - ...
In ASP.NET Web Forms, you cannot use server-side code directly in the markup for attributes such as the `Value` property of the `ListItem`. However, you can set the `Value` in a way that it can refer to constants defined in your code-behind. Since you can't use code expressions directly in the ASPX markup, the common a...
28,633
[ { "from": "human", "value": "ASPX Code\n\n<asp:RadioButtonList ID=\"rbServer\" runat=\"server\" >\n <asp:ListItem Value=<%=ServerDeveloper%>> Developer </asp:ListItemv\n <asp:ListItem Value=\"dev.ahsvendor.com\"> dev.test.com</asp:ListItem>\n <asp:ListItem Value=\"staging.ahsvendor.com\"> staging.test...
Can you mix .net languages within a single project? So pre-compiled, I would like to call classes and methods of other source files. For both web and apps? In particular I'd be interested in F# and C#.
Yes, you can mix .NET languages within a single project, including F# and C#. The .NET framework is designed to support multiple languages that can interoperate with one another, thanks to the Common Language Runtime (CLR). Here’s how you can achieve this in both web and desktop applications: ### 1. **Creating a Multi...
28,069
[ { "from": "human", "value": "Can you mix .net languages within a single project? So pre-compiled, I would like to call classes and methods of other source files.\nFor both web and apps? \nIn particular I'd be interested in F# and C#.\n" }, { "from": "gpt", "value": "Yes, you can mix .NET langu...
I have in Word ‘hello’ and when I paste it I get 018hello 019 so the apostrophes turn into these strange characters. The type of web application should not matter as the behaviour is different depending on the workstation I use. I checked with Notepad, Excel and Wordpad and this issue does not occur, only for Word. It ...
The issue you're experiencing with Word inserting strange characters like `018` and `019` when pasting text is likely related to how Word handles special characters and the clipboard content. Here are several potential causes and solutions to consider: ### 1. AutoCorrect Settings Word has an AutoCorrect feature that m...
26,745
[ { "from": "human", "value": "I have in Word ‘hello’ and when I paste it I get 018hello 019 so the apostrophes turn into these strange characters.\nThe type of web application should not matter as the behaviour is different depending on the workstation I use.\nI checked with Notepad, Excel and Wordpad and th...
Is it better in C++ to pass by value or pass by reference-to-const? I am wondering which is better practice. I realize that pass by reference-to-const should provide for better performance in the program because you are not making a copy of the variable.
The choice between passing by value and passing by reference-to-const in C++ largely depends on the type of the parameter being passed and the specific use case. Here are some considerations that may help you decide which method is better in practice: ### Pass by Value 1. **Simplicity**: Passing by value is straightfo...
29,987
[ { "from": "human", "value": "Is it better in C++ to pass by value or pass by reference-to-const?\nI am wondering which is better practice. I realize that pass by reference-to-const should provide for better performance in the program because you are not making a copy of the variable.\n" }, { "from"...
I have a database scenario (I'm using Oracle) in which several processes make inserts into a table and a single process selects from it. The table is basically used as intermediate storage, to which multiple processes (in the following called the Writers) write log events, and from which a single process (in the follo...
To address the problem of your Reader missing log entries due to the concurrent nature of your Writers in Oracle, you can utilize the following strategies to ensure that the Reader captures all entries in the correct order: ### 1. Use a Dedicated Transaction for the Reader You can modify the Reader's approach to use a...
21,711
[ { "from": "human", "value": "I have a database scenario (I'm using Oracle) in which several processes make inserts into a table and a single process selects from it. The table is basically used as intermediate storage, to which multiple processes (in the following called the Writers) write log events, and ...
The company I work for has consultants that work off site. Because of policy we are not allowed to set up email forwarding so these users can receive their email. Obviously this is a problem as these users may miss important email. Can anyone recommend a way that we could inform these users they have email waiting f...
There are several ways to inform off-site consultants about their waiting emails without violating your company’s email forwarding policy. Here are some options you might consider: 1. **Email Notifications through a Shared Platform**: If your company uses a collaboration platform like Microsoft Teams, Slack, or simila...
29,767
[ { "from": "human", "value": "The company I work for has consultants that work off site. Because of policy we are not allowed to set up email forwarding so these users can receive their email. Obviously this is a problem as these users may miss important email. Can anyone recommend a way that we could inf...
How would one go about profiling a few queries that are being run from an ASP.NET application? There is some software where I work that runs extremely slow because of the database (I think). The tables have indexes but it still drags because it's working with so much data. How can I profile to see where I can make a fe...
Profiling queries in an ASP.NET application that interacts with a database can be an essential step toward identifying performance bottlenecks. Here are steps you can take to profile your queries and optimize their performance: ### 1. Use SQL Server Profiler (if using SQL Server) If you are using SQL Server as your d...
23,105
[ { "from": "human", "value": "How would one go about profiling a few queries that are being run from an ASP.NET application? There is some software where I work that runs extremely slow because of the database (I think). The tables have indexes but it still drags because it's working with so much data. How c...
Whats the best/easiest GUI library out there for Ruby? I would prefer a cross-platform GUI library, but currently I'm only concerned about Windows (Win32). I am having difficulting finding any that seem to be easy to use. Are there any?
For Ruby, there are several GUI libraries that you can consider, especially for cross-platform development. Here are a few that are relatively easy to use, and they work well on Windows: 1. **Shoes**: - **Description**: Shoes is a simple and straightforward GUI toolkit for Ruby. It allows you to create graphical ap...
27,844
[ { "from": "human", "value": "Whats the best/easiest GUI library out there for Ruby?\nI would prefer a cross-platform GUI library, but currently I'm only concerned about Windows (Win32). I am having difficulting finding any that seem to be easy to use. Are there any?\n" }, { "from": "gpt", "value...
I have two users Bob and Alice in Oracle, both created by running the following commands as sysdba from sqlplus: create user $blah identified by $password; grant resource, connect, create view to $blah; I want Bob to have complete access to Alice's schema (that is, all tables), but I'm not sure what grant to ru...
To give Bob complete access to Alice's schema, you can grant him the necessary privileges on Alice's objects (tables, views, etc.). The best way to do this is to execute the GRANT statement as Alice, which means that Alice needs to grant the privileges to Bob. Here’s how you can do it: 1. **Connect as Alice**: Firs...
25,280
[ { "from": "human", "value": "I have two users Bob and Alice in Oracle, both created by running the following commands as sysdba from sqlplus:\n\n create user $blah identified by $password;\n grant resource, connect, create view to $blah;\n\nI want Bob to have complete access to Alice's schema (that is, ...
I need a smart way to get the data types out of INFORMATION_SCHEMA.COLUMNS in a way that could be used in a CREATE TABLE statement. The problem is the 'extra' fields that need to be understood, such as NUMERIC_PRECISION and NUMERIC_SCALE. Obviously, I can ignore the columns for INTEGER (precision of 10 and scale of 0)...
To achieve a concise representation of the data types from `INFORMATION_SCHEMA.COLUMNS` that can be used in a `CREATE TABLE` statement, you can construct a SQL query that formats the data types according to their attributes. Below is an example SQL query that dynamically generates the desired output based on the rules ...
27,288
[ { "from": "human", "value": "I need a smart way to get the data types out of INFORMATION_SCHEMA.COLUMNS in a way that could be used in a CREATE TABLE statement. The problem is the 'extra' fields that need to be understood, such as NUMERIC_PRECISION and NUMERIC_SCALE.\nObviously, I can ignore the columns fo...
As a web developer, a number of the projects I work on fall under government umbrellas and hence are subject to 508 Accessibility laws, and sometimes W3C accessibility guidelines. To what extent can Flash be used while still meeting these requirements? For using javascript, the mantra is "Degrade gracefully" by providi...
Flash was historically used to create interactive and dynamic web content, but it has significant limitations regarding accessibility, which makes it a poor choice for projects that must comply with 508 Accessibility laws and W3C accessibility guidelines. Here are some key points to consider regarding Flash and accessi...
29,388
[ { "from": "human", "value": "As a web developer, a number of the projects I work on fall under government umbrellas and hence are subject to 508 Accessibility laws, and sometimes W3C accessibility guidelines. To what extent can Flash be used while still meeting these requirements?\nFor using javascript, the...
I'm loading data into a DataSet from an XML file using the ReadXml method. This results in two tables with the same name. One of the tables has a namespace and the other doesn't. I'm trying to reference the table with the namespace. Can anyone tell me how to do this? Dim reader As XmlTextReader = New XmlTextRead...
When loading an XML file into a `DataSet`, if you have multiple tables with the same name (but potentially with different namespaces), you can access the tables by explicitly specifying the namespace along with the table name. To accomplish this, you need to use the `DataTable` instance directly from the `DataSet`, ta...
30,546
[ { "from": "human", "value": "I'm loading data into a DataSet from an XML file using the ReadXml method. This results in two tables with the same name. One of the tables has a namespace and the other doesn't. I'm trying to reference the table with the namespace. Can anyone tell me how to do this?\n Dim...
I have an ASP .Net (3.5) website. I have the following code that uploads a file as a binary to a SQL Database: Print(" protected void UploadButton_Click(object sender, EventArgs e) { //Get the posted file Stream fileDataStream = FileUpload.PostedFile.InputStream;...
To retrieve a PDF file from your SQL database and display it in the browser, you need to create a handler (or endpoint) that streams the binary data back to the client as a PDF file. Below, I'll provide a sample implementation using an ASP.NET handler (ASHX) and a simple way to retrieve and display the PDF. ### Step 1...
27,462
[ { "from": "human", "value": "I have an ASP .Net (3.5) website. I have the following code that uploads a file as a binary to a SQL Database:\nPrint(\" \n protected void UploadButton_Click(object sender, EventArgs e)\n {\n\n //Get the posted file\n Stream fil...
Is there anyway to automatically run javascript:window.print() when the page finishes loading?
Yes, you can automatically trigger the `window.print()` function once the page finishes loading by using JavaScript's `window.onload` event. This approach ensures that the print dialog will appear after all content on the page has loaded. Here’s how you can do it: ```html <!DOCTYPE html> <html lang="en"> <head> <m...
30,388
[ { "from": "human", "value": "Is there anyway to automatically run javascript:window.print() when the page finishes loading? \n" }, { "from": "gpt", "value": "Yes, you can automatically trigger the `window.print()` function once the page finishes loading by using JavaScript's `window.onload` even...
I am writing a C# console application that takes a binary file, rips it apart, analyzes it, and stores the data into a database. We want to use BizTalk to orchestrate watching when a new binary file is placed in a directory and calling my application with the file name/names to be parsed. Can BizTalk run a command ...
Hi Keith, Yes, BizTalk can run command line applications, and it can also pass command line parameters to those applications. Below is an overview of how you can achieve this, along with some suggestions for reporting back to BizTalk. ### 1. Running a Command Line Program from BizTalk To execute a command line appli...
29,490
[ { "from": "human", "value": "I am writing a C# console application that takes a binary file, rips it apart, analyzes it, and stores the data into a database. \nWe want to use BizTalk to orchestrate watching when a new binary file is placed in a directory and calling my application with the file name/names ...
I use vim (7.1) on OpenVMS V7.3-2. I connect to VMS trough a telnet session with SmartTerm, a terminal emulator. It works fine. But when I start a telnet session from a VMS session (connected via SmartTerm) to another VMS session, some keys doesn't work properly. |--------------| telnet |-------------| telnet |----...
This issue you are experiencing seems to stem from how terminal control sequences are being handled when you initiate a telnet session from within another telnet session on the same VMS box. When dealing with nested telnet sessions, especially with terminal emulators, certain key mappings may not be transmitted correct...
29,867
[ { "from": "human", "value": "I use vim (7.1) on OpenVMS V7.3-2.\nI connect to VMS trough a telnet session with SmartTerm, a terminal emulator.\nIt works fine.\nBut when I start a telnet session from a VMS session (connected via SmartTerm) to another VMS session, some keys doesn't work properly.\n|----------...
I've read (and re-read) Martin Fowler's Mocks Aren't Stubs. In it, he defines two different approaches to TDD: "Classical" and "Mockist". He attempts to answer the question "So should I be a classicist or a mockist?", but he admits that he has never tried mockist TDD on "anything more than toys." So I thought I'd as...
Certainly! The debate between Classical TDD and Mockist TDD is a nuanced one, and both approaches have their merits and drawbacks. Let's clarify the two approaches as described by Martin Fowler and then provide insights to help you understand which might be suitable for your situation. ### Classical TDD - **Focus**: I...
26,165
[ { "from": "human", "value": "I've read (and re-read) Martin Fowler's Mocks Aren't Stubs. In it, he defines two different approaches to TDD: \"Classical\" and \"Mockist\". He attempts to answer the question \"So should I be a classicist or a mockist?\", but he admits that he has never tried mockist TDD on ...
REBOL has no built-in way to perform list comprehensions. However, REBOL has a powerful facility (known as parse) that can be used to create domain-specific languages (DSLs). I've used parse to create such a mini-DSL for list comprehensions. In order to interpret the expression, the block containing the comprehension i...
Choosing a name for your function that captures its purpose and remains succinct is important for code readability and maintainability. Here are some suggestions that might fit well with the functionality of your mini-DSL for list comprehensions in REBOL: 1. **map**: This name implies a transformation of elements, whi...
29,261
[ { "from": "human", "value": "REBOL has no built-in way to perform list comprehensions. However, REBOL has a powerful facility (known as parse) that can be used to create domain-specific languages (DSLs). I've used parse to create such a mini-DSL for list comprehensions. In order to interpret the expression,...
From the reading that I have done, Core Audio relies heavily on callbacks (and C++, but that's another story). I understand the concept (sort of) of setting up a function that is called by another function repeatedly to accomplish a task. I just don't understand how they get set up and how they actually work. Any e...
Certainly! Callbacks are a fundamental programming concept often used in event-driven programming or to handle asynchronous operations. In the context of Core Audio, callbacks are used to process audio data efficiently. Let’s break it down, and I’ll provide a basic example. ### What is a Callback? A callback is a fun...
22,190
[ { "from": "human", "value": "From the reading that I have done, Core Audio relies heavily on callbacks (and C++, but that's another story). \nI understand the concept (sort of) of setting up a function that is called by another function repeatedly to accomplish a task. I just don't understand how they get...
In C# Is there a way of getting a finer granularity with SQL exceptions? I'm aware that an aweful lot can go wrong but I want to deal with certain cases differently and parsing the Error message doesn't seem to be very elegant. Also Are the error messages created by the framework or are they db specific? For example If...
In C#, when working with SQL Server, you can use the `SqlException` class to handle exceptions that occur when executing SQL commands. This class provides properties that give you a finer granularity regarding the nature of the error, allowing you to handle specific cases differently. Here’s a breakdown of how to appro...
27,416
[ { "from": "human", "value": "In C# Is there a way of getting a finer granularity with SQL exceptions?\nI'm aware that an aweful lot can go wrong but I want to deal with certain cases differently and parsing the Error message doesn't seem to be very elegant.\nAlso Are the error messages created by the framew...
We have a ASP.Net 2.0 web application up and running with the server in the Midwest (Eastern Standard Time). At this moment all of our customers are in the same time zone as the server. We are bringing another server online in Arizona (Mountain Standard Time). We are storing all our times in a SQL 2005 database via C# ...
To ensure that your ASP.NET web application displays the date and time in the correct time zone based on the user's location rather than the server's time zone, you'll need to perform a couple of steps. Since the user's time zone isn't inherently known to the server, you can leverage JavaScript and cookies to communica...
27,170
[ { "from": "human", "value": "We have a ASP.Net 2.0 web application up and running with the server in the Midwest (Eastern Standard Time). At this moment all of our customers are in the same time zone as the server. We are bringing another server online in Arizona (Mountain Standard Time).\nWe are storing al...
using register_shutdown_function I can register code to execute at the end of a PHP script execution "no matter what". Can I have more than one function registered? This question arises since I may not know if someone has already registered one when I'm about to register my own. Thanks.
Yes, you can register more than one function using `register_shutdown_function` in PHP. Each call to `register_shutdown_function` adds another function to the list of functions that will be executed when the script execution ends, regardless of how the script terminates (whether it completes normally, encounters a fata...
31,880
[ { "from": "human", "value": "using register_shutdown_function I can register code to execute at the end of a PHP script execution \"no matter what\".\nCan I have more than one function registered?\nThis question arises since I may not know if someone has already registered one when I'm about to register my ...
I always wondered what different methods Google Desktop Search is using so that it uses least CPU and memory while indexing a computer containing more 100,000 files on an average. In just few hours it has indexed the whole system and I did not see it eating up my CPU, memory etc. If any of you have done some research, ...
Google Desktop Search, like many effective search tools, utilizes several methods and techniques to optimize resource usage while indexing a large number of files. Here are some key strategies that may explain its efficient performance: 1. **Incremental Indexing**: Instead of re-indexing all files every time there is ...
28,603
[ { "from": "human", "value": "I always wondered what different methods Google Desktop Search is using so that it uses least CPU and memory while indexing a computer containing more 100,000 files on an average.\nIn just few hours it has indexed the whole system and I did not see it eating up my CPU, memory et...
In a WPF app, is there a object I can assign to FileSystemWatcher.SynchronizingObject? I can make my own, but if there is one available, I would like to use it.
In WPF, `FileSystemWatcher.SynchronizingObject` is a property that is primarily used in Windows Forms applications to specify a `SynchronizationContext` or a control that will be used to marshal events to the thread that owns the control. However, in WPF, there isn't a direct equivalent for `SynchronizationObject` that...
28,510
[ { "from": "human", "value": "In a WPF app, is there a object I can assign to FileSystemWatcher.SynchronizingObject?\nI can make my own, but if there is one available, I would like to use it.\n" }, { "from": "gpt", "value": "In WPF, `FileSystemWatcher.SynchronizingObject` is a property that is pr...
I'm wondering if a Java library can be called from a VB.net application. (A Google search turns up lots of shady answers, but nothing definitive)
Yes, you can call a Java library from a VB.NET application, but it requires some intermediary steps since these two languages run on different platforms and have different execution environments (Java runs on the Java Virtual Machine (JVM), while VB.NET runs on the .NET framework). Here are a few approaches to achieve...
26,582
[ { "from": "human", "value": "I'm wondering if a Java library can be called from a VB.net application.\n(A Google search turns up lots of shady answers, but nothing definitive)\n" }, { "from": "gpt", "value": "Yes, you can call a Java library from a VB.NET application, but it requires some interm...
I'm working on a site which contains a whole bunch of mp3s and images, and I'd like to display a loading gif while all the content loads. I have no idea how to achieve this, but I do have the animated gif I want to use. Any suggestions?
Certainly! To display a loading GIF while your content (such as MP3s and images) loads, you can use HTML, CSS, and JavaScript. Here’s a simple way to achieve this: ### Step 1: HTML Structure You will need to set up an HTML structure where you can display the loading GIF and the main content. ```html <!DOCTYPE html> ...
25,037
[ { "from": "human", "value": "I'm working on a site which contains a whole bunch of mp3s and images, and I'd like to display a loading gif while all the content loads. \nI have no idea how to achieve this, but I do have the animated gif I want to use. \nAny suggestions?\n" }, { "from": "gpt", "va...
We ship Java applications that are run on Linux, AIX and HP-Ux (PA-RISC). We seem to struggle to get acceptable levels of performance on HP-Ux from applications that work just fine in the other two environments. This is true of both execution time and memory consumption. Although I'm yet to find a definitive article on...
The memory consumption differences you're observing between Java 1.4 and Java 1.5, as well as the discrepancies between HP-UX and Linux, could be attributed to several factors. Here are some potential explanations: ### 1. Differences in JVM Implementations Java Virtual Machine (JVM) implementations can vary significa...
26,285
[ { "from": "human", "value": "We ship Java applications that are run on Linux, AIX and HP-Ux (PA-RISC). We seem to struggle to get acceptable levels of performance on HP-Ux from applications that work just fine in the other two environments. This is true of both execution time and memory consumption.\nAlthou...
The issue that prompted me to ask this is a web form that was not persisting data the way I expected it to. That's vague, but the point is, what do you like to do to model state, flow of data, and so forth?
Modeling state and the flow of data in a web application is crucial for understanding how user inputs are handled and ensuring that data persists correctly. Here are several approaches and best practices to consider: ### 1. **State Management Libraries:** - **Redux:** A popular state management library for JavaScri...
25,682
[ { "from": "human", "value": "The issue that prompted me to ask this is a web form that was not persisting data the way I expected it to. That's vague, but the point is, what do you like to do to model state, flow of data, and so forth?\n" }, { "from": "gpt", "value": "Modeling state and the flow...
What is the state of native SVG support in the most popular browsers in their latest releases? Internet explorer Firefox Opera Safari Chrome Konqueror Camino
As of my last update in October 2023, here's an overview of native SVG support in the most popular browsers listed: 1. **Internet Explorer**: Internet Explorer has limited support for SVG. SVG 1.1 is supported in IE9 and later versions, but there are several known issues and inconsistencies. IE 8 and earlier do not su...
31,646
[ { "from": "human", "value": "What is the state of native SVG support in the most popular browsers in their latest releases?\n\nInternet explorer\nFirefox\nOpera\nSafari\nChrome\nKonqueror\nCamino\n\n" }, { "from": "gpt", "value": "As of my last update in October 2023, here's an overview of nativ...
I'm looking for a good reader/writer lock in C++. We have a use case of a single infrequent writer and many frequent readers and would like to optimize for this. Preferable I would like a cross-platform solution, however a Windows only one would be acceptable.
For your use case of optimizing for a single infrequent writer and many frequent readers in C++, you can consider using the `shared_mutex` class, which is part of the C++17 standard. This class provides a reader-writer lock mechanism that allows multiple readers to access the shared resource concurrently while ensuring...
25,213
[ { "from": "human", "value": "I'm looking for a good reader/writer lock in C++. We have a use case of a single infrequent writer and many frequent readers and would like to optimize for this. Preferable I would like a cross-platform solution, however a Windows only one would be acceptable. \n" }, { "...
Am developing my web application using Django, and is seems CSS is the only way i can format my pages to look and feel nice. Where can i get a free and good css editor? NB: Is there another way to format forms in Django?
Certainly! When it comes to formatting your Django web application with CSS, there are several free CSS editors and frameworks you can use. Here are a few options: ### Free CSS Editors 1. **Visual Studio Code (VSCode)**: - A popular code editor with extensions for CSS, HTML, and JavaScript. - Supports live previ...
27,922
[ { "from": "human", "value": "Am developing my web application using Django, and is seems CSS is the only way i can format my pages to look and feel nice. Where can i get a free and good css editor?\nNB: Is there another way to format forms in Django?\n" }, { "from": "gpt", "value": "Certainly! W...
What are the best workarounds for using a SQL IN clause with instances of java.sql.PreparedStatement, which is not supported for multiple values due to SQL injection attack security issues: One ? placeholder represents one value, rather than a list of values. Consider the following SQL statement: SELECT my_column FROM ...
Using a `PreparedStatement` with an `IN` clause in SQL poses a challenge because you cannot directly substitute a list of values with a single placeholder (`?`). Instead, you'll need to dynamically construct the `IN` clause while ensuring you do not expose your application to SQL injection vulnerabilities. Here are som...
17,755
[ { "from": "human", "value": "What are the best workarounds for using a SQL IN clause with instances of java.sql.PreparedStatement, which is not supported for multiple values due to SQL injection attack security issues: One ? placeholder represents one value, rather than a list of values.\nConsider the follo...
We are rolling out a site for a client using IIS tomorrow. I am to take the site down to the general public (Sorry, we are updating message) and allow the client to test over the weekend after we perform the upgrade. If it is successful, I open it to everbody - if not, I rollback. What is the easiest way to put a "We...
To achieve your goal of showing a "We're not open" message to the general public while allowing your client to test the site over the weekend, you can follow these steps using IIS (Internet Information Services): ### Method 1: Using a Custom Error Page 1. **Create a Custom HTML Page**: - Create a simple HTML page ...
29,219
[ { "from": "human", "value": "We are rolling out a site for a client using IIS tomorrow. \nI am to take the site down to the general public (Sorry, we are updating message) and allow the client to test over the weekend after we perform the upgrade.\nIf it is successful, I open it to everbody - if not, I rol...
I'm aware that I can grab the CPU identifier and the volume serial number for a physical drive by querying WMI, but WMI usually takes its sweet time. What other speedier options, if any, are available to retrieve this information? Are there Win32 APIs that would accomplish this? Edit: Allow me to clarify. By CPU identi...
Yes, there are alternative methods to retrieve the CPU identifier and the volume serial number that can be faster than querying WMI. Both of these values can be retrieved using Windows API calls. ### 1. Retrieve CPU Identifier You can use the `CPUID` instruction to obtain the processor ID. This requires writing a litt...
25,528
[ { "from": "human", "value": "I'm aware that I can grab the CPU identifier and the volume serial number for a physical drive by querying WMI, but WMI usually takes its sweet time. What other speedier options, if any, are available to retrieve this information? Are there Win32 APIs that would accomplish this?...
Running rake db:migrate followed by rake test:units yields the following: rake test:functionals (in /projects/my_project) rake aborted! SQLite3::SQLException: index unique_schema_migrations already exists: CREATE UNIQUE INDEX "unique_schema_migrations" ON "ts_schema_migrations" ("version") The relevant part of db/sche...
The error message you're encountering indicates that there is a problem with the uniqueness of the index on the `ts_schema_migrations` table when running your tests. This typically happens when the test environment is trying to set up the schema but finds that the index already exists. Here are some troubleshooting st...
28,862
[ { "from": "human", "value": "Running rake db:migrate followed by rake test:units yields the following:\nrake test:functionals\n(in /projects/my_project)\nrake aborted!\nSQLite3::SQLException: index unique_schema_migrations already exists: CREATE UNIQUE INDEX \"unique_schema_migrations\" ON \"ts_schema_migra...
I've just started tinkering with XML manipulation with PHP, and i've stumbled into something unexpected. Here's the XML i'm using as a test input: <list> <activity1> running </activity1> <activity2> swimming </activity2> <activity3> soccer </activity3> </list> Now, i was expecting that this PHP code would ...
The behavior you're encountering has to do with how the DOM representation of your XML is structured, particularly with regard to whitespace and text nodes. When you load your XML with `DOMDocument`, the whitespace around your elements is considered as text nodes. In your XML input, there are spaces and newlines betwe...
28,459
[ { "from": "human", "value": "I've just started tinkering with XML manipulation with PHP, and i've stumbled into something unexpected. Here's the XML i'm using as a test input:\n<list>\n <activity1> running </activity1>\n <activity2> swimming </activity2>\n <activity3> soccer </activity3>\n</list>\n...
I would like to implement an interactive evolutionary algorithm for generating music (probably just simple melodies to start with). I'd like to use JFugue for this. Its website claims that it is well-suited to evolutionary music, but I can't find any evolutionary examples. I already have a framework to provide the evo...
Implementing an interactive evolutionary algorithm for generating music is a fascinating project! While there may not be a wealth of examples that directly use JFugue for this purpose, you can certainly adapt concepts from existing evolutionary algorithms to generate melodies. Here's a high-level approach to get you s...
23,312
[ { "from": "human", "value": "I would like to implement an interactive evolutionary algorithm for generating music (probably just simple melodies to start with).\nI'd like to use JFugue for this. Its website claims that it is well-suited to evolutionary music, but I can't find any evolutionary examples.\nI ...
What is the minimal conventional directory structure for a Java web app? What do I need to put in a build.xml file to get ant to build it and make a WAR file? My goal is to deploy a Wicket app to Tomcat without using an IDE. I want to do it with only ant and my favourite text editor.
To deploy a Wicket app to Tomcat using Apache Ant without an IDE, you need a minimal directory structure and a `build.xml` file to handle the build and packaging into a WAR file. Here’s how to set it up: ### Minimal Directory Structure Here’s a simple and conventional directory structure for a Java web app: ``` my-w...
19,820
[ { "from": "human", "value": "What is the minimal conventional directory structure for a Java web app? What do I need to put in a build.xml file to get ant to build it and make a WAR file?\nMy goal is to deploy a Wicket app to Tomcat without using an IDE. I want to do it with only ant and my favourite text e...
I am developing a website and for the main navigation, I was thinking it would be a good idea to include the title attribute. <a href="/results/" title="Results">Results</a> Is this a good thing to do? Also, is it good for SEO and accessibility?
Using the `title` attribute in anchor tags can be a point of consideration for web development, and it has both advantages and disadvantages regarding SEO and accessibility. ### Advantages 1. **User Experience**: The `title` attribute can provide additional context for users when they hover over the link, which may e...
30,608
[ { "from": "human", "value": "I am developing a website and for the main navigation, I was thinking it would be a good idea to include the title attribute.\n<a href=\"/results/\" title=\"Results\">Results</a>\n\nIs this a good thing to do? Also, is it good for SEO and accessibility?\n" }, { "from": "...
I'm looking for an abstract representation of a grid in Java (grid as in that thing with columns and rows of data). Do such things exist? I want to be able to sort, filter, keep track of rows, set column properties etc. I'll then be realising the grid on the web. To be clear: I've already decided on the ultimate vie...
Yes, there are several approaches and libraries in Java that can help you create an abstract representation of a grid (or table) that supports features like sorting, filtering, and managing row and column properties. Below are some common strategies and libraries that can facilitate this: ### 1. **Use Java Collections...
23,305
[ { "from": "human", "value": "I'm looking for an abstract representation of a grid in Java (grid as in that thing with columns and rows of data). Do such things exist? I want to be able to sort, filter, keep track of rows, set column properties etc. I'll then be realising the grid on the web.\nTo be clear...
I'm a pretty experienced Java programmer that's been doing quite a bit of Win32 stuff in the last couple of years. Mainly I've been using VB6, but I really need to move to something better. I've spent a month or so playing with Delphi 2009. I like the VCL GUI stuff, Delphi seems more suited to Windows API calls than ...
Both Delphi and C++ Builder are powerful development environments for Windows applications, and your choice between them can significantly impact your development experience. Let's break down the pros and cons of each, especially considering your background as an experienced Java programmer. ### Delphi (Embarcadero De...
25,875
[ { "from": "human", "value": "I'm a pretty experienced Java programmer that's been doing quite a bit of Win32 stuff in the last couple of years. Mainly I've been using VB6, but I really need to move to something better.\nI've spent a month or so playing with Delphi 2009. I like the VCL GUI stuff, Delphi se...
Is there any way to read a collection of extension elements with Universal Feed Parser? This is just a short snippet from Kuler RSS feed: <channel> <item> <!-- snip: regular RSS elements --> <kuler:themeItem> <kuler:themeID>123456</kuler:themeID> <!-- snip --> <kuler:themeSwatches> <...
The Universal Feed Parser (feedparser) does indeed have limitations when it comes to handling nested or repeated XML elements like those in your Kuler RSS feed example. When you parse the feed, feedparser flattens the XML structure, which can lead to situations where only the last instance of a repeated element is acce...
29,845
[ { "from": "human", "value": "Is there any way to read a collection of extension elements with Universal Feed Parser?\nThis is just a short snippet from Kuler RSS feed:\n<channel>\n <item>\n <!-- snip: regular RSS elements -->\n <kuler:themeItem>\n <kuler:themeID>123456</kuler:themeID>\n <!-...
I am currently coding a simple Data Access Layer, and I was wondering which type I should expose to the other layers. I am going to internally implement the Data as a List<>, but I remember reading something about not exposing the List type to the consumers if not needed. public List<User> GetAllUsers() // non C# users...
Exposing collections in your Data Access Layer (DAL) can impact the usability and flexibility of your API, and it's a good practice to use more abstract collection types instead of concrete implementations like `List<T>`. Here are some reasons why you might want to consider using `IEnumerable<T>` or `IReadOnlyList<T>` ...
28,262
[ { "from": "human", "value": "I am currently coding a simple Data Access Layer, and I was wondering which type I should expose to the other layers.\nI am going to internally implement the Data as a List<>, but I remember reading something about not exposing the List type to the consumers if not needed.\npubl...
I have a class isSearching with a single boolean property in a 'functions' file in my webapp. On my search page, I have a variable oSearchHandler declared as a Public Shared variable. How can I access the contents of oSearchHandler on other pages in my webapp? Code with Session.... 'search.aspx Public Function oSearc...
Using the session to manage your search state is a solid approach, and it looks like you have the right idea in your implementation. By storing search-related information in the session, you can easily access it from different pages within your web application. Here's a breakdown of how this works and some recommendati...
28,390
[ { "from": "human", "value": "I have a class isSearching with a single boolean property in a 'functions' file in my webapp. On my search page, I have a variable oSearchHandler declared as a Public Shared variable. How can I access the contents of oSearchHandler on other pages in my webapp?\nCode with Sessi...
I'm trying to use jQuery to get data from an ASP.NET web service (SharePoint Server 2007 lists.asmx), but any call to a web service will really help as a first step in that direction.
To call a web service from jQuery, you typically use the `$.ajax` method. Since you are dealing with an ASP.NET web service (such as the SharePoint Server 2007 `lists.asmx` web service), it's important to ensure that your request is set up correctly. Here's a general outline of how to call an ASP.NET web service using...
24,123
[ { "from": "human", "value": "I'm trying to use jQuery to get data from an ASP.NET web service (SharePoint Server 2007 lists.asmx), but any call to a web service will really help as a first step in that direction.\n" }, { "from": "gpt", "value": "To call a web service from jQuery, you typically u...
I've created a DeskBand toolbar and I want to display a button on the toolbar that has the style visual style as a taskbar button. In .NET you can use the VisualStyleRenderer to render the Taskbar BACKGROUND, but there's way to render a button. Are there any Win32 API's I can use to draw the button using Visual Styles ...
To render a button with the visual style of a taskbar button in your DeskBand toolbar, you can use the Windows API for visual styles, specifically the `DrawThemeBackground` and `DrawThemeButton` functions provided by the UxTheme library. Here's a general approach to achieve this: 1. **Include Necessary Headers and Li...
27,354
[ { "from": "human", "value": "I've created a DeskBand toolbar and I want to display a button on the toolbar that has the style visual style as a taskbar button.\nIn .NET you can use the VisualStyleRenderer to render the Taskbar BACKGROUND, but there's way to render a button.\nAre there any Win32 API's I can ...
I have a JSP accessed through JBoss. It renders a list (a search result). If the response gets big, approximately larger than 200k the response is truncated. I can see how the page just ends in the middle of a tag in Firefox. IE totally freaks out an so does Fiddler. Responses smaller than 200k are no problem. Anyone h...
Experiencing truncated responses in a JSP application running on JBoss can be quite frustrating. Here are several potential areas to investigate that may help you identify the cause of the issue: 1. **JBoss Configuration**: - Check the `web.xml` configuration for any size limits. You might want to look for settings...
30,061
[ { "from": "human", "value": "I have a JSP accessed through JBoss. It renders a list (a search result).\nIf the response gets big, approximately larger than 200k the response is truncated. I can see how the page just ends in the middle of a tag in Firefox. IE totally freaks out an so does Fiddler.\nResponses...
I'm writing some code in python and I'm having trouble when trying to retrieve content of an Entry widget. The thing is: I want to limit the characters that can be typed, so I'm trying to clear the Entry widget when I reach the specific number of characters (2 in this case), but it looks like I always miss the last typ...
The issue you're facing with capturing the last typed character is due to the fact that the `<Key>` event is triggered before the character is actually inserted into the Entry widget. Therefore, when you check the content of the Entry widget in your `callback` function, it does not include the character that triggered ...
29,301
[ { "from": "human", "value": "I'm writing some code in python and I'm having trouble when trying to retrieve content of an Entry widget.\nThe thing is: I want to limit the characters that can be typed, so I'm trying to clear the Entry widget when I reach the specific number of characters (2 in this case), bu...
I'm looking for a way to supply an argument to a ruby on rails project at runtime. Essentially, our project uses public key cryptography to encrypt some sensitive client data and we want the ability to supply the password to the private key file at runtime.
In a Ruby on Rails application, if you want to supply a runtime argument for sensitive data like a password for a private key, you have several options. Below are some common approaches you can use to achieve this: ### 1. Environment Variables Using environment variables is a secure way to handle sensitive information...
27,760
[ { "from": "human", "value": "I'm looking for a way to supply an argument to a ruby on rails project at runtime. Essentially, our project uses public key cryptography to encrypt some sensitive client data and we want the ability to supply the password to the private key file at runtime.\n" }, { "fro...
I have created a report in MS Access report and write some VBA code to retrive data and show the report in MS-Word format. But while generate the report on runtime, the report first show or flash the report design view for few seconds and the report will get generated. I would like to find a solution to avoid this fl...
In MS Access, when you use `DoCmd.OpenReport` to display a report in preview mode, it's common for the report design view to flash briefly on the screen before the report is displayed. Unfortunately, this behavior is inherent to how Access handles report rendering. However, there are a few strategies you can use to mi...
28,057
[ { "from": "human", "value": "I have created a report in MS Access report and write some VBA code to retrive data and show the report in MS-Word format. \nBut while generate the report on runtime, the report first show or flash the report design view for few seconds and the report will get generated. \nI wou...
The official documentation seems to be light on explanations of 'how to understand the SproutCore way' e. g., why things are done the way they are, how to intuit what to do from where you're at, etc.
Understanding the "SproutCore way" requires familiarity with its principles, conventions, and design philosophies. While the documentation might not provide exhaustive explanations, here are some key concepts to help you grasp the framework better: ### 1. **MVC Architecture** SproutCore is built around the Model-View-...
26,253
[ { "from": "human", "value": "The official documentation seems to be light on explanations of 'how to understand the SproutCore way' e. g., why things are done the way they are, how to intuit what to do from where you're at, etc.\n" }, { "from": "gpt", "value": "Understanding the \"SproutCore way...
Is it possible to integrate my PHP web-based ecommerce application with Quickbook Online Edition? When I make a sale on my web site, I would like to be able to make the corresponding journal entry in my accounting books. Note, I'm referring to Quickbook Online Edition, not the desktop software.
Yes, it is definitely possible to integrate your PHP web-based eCommerce application with QuickBooks Online (QBO). QuickBooks Online provides a robust API that you can use to create journal entries and perform other accounting operations programmatically. ### Steps to Integrate PHP Application with QuickBooks Online ...
20,401
[ { "from": "human", "value": "Is it possible to integrate my PHP web-based ecommerce application with Quickbook Online Edition?\nWhen I make a sale on my web site, I would like to be able to make the corresponding journal entry in my accounting books.\nNote, I'm referring to Quickbook Online Edition, not the...
I’m running into problems using MSDTC and Oracle. It’s a .net application and I’m using the TransactionScope class to control the transactions. The problem is that, sometimes, if the transaction is rolled back (scope.Dispose is called without having called scope.Complete), it stays in “Aborting” state for a long time, ...
It sounds like you are experiencing a common issue when dealing with distributed transactions using MSDTC (Microsoft Distributed Transaction Coordinator) and Oracle. There are a few potential causes and solutions you can explore to troubleshoot and resolve this problem. ### Possible Causes 1. **Timeout Settings**: ...
23,902
[ { "from": "human", "value": "I’m running into problems using MSDTC and Oracle. It’s a .net application and I’m using the TransactionScope class to control the transactions.\nThe problem is that, sometimes, if the transaction is rolled back (scope.Dispose is called without having called scope.Complete), it s...
Portfolio A → Fund 1 Portfolio A → Fund 2 Portfolio A → Fund 3 I couldn't frame my sentence without not using is/has. But between 1 & 2, 1) has a: class PortfolioA { List<Fund> obj; } 2) is a: class PortfolioA : List<Fund> { } which one do you think is better from the point of extensibility, usability? I can sti...
When comparing the two design options for representing `PortfolioA`, we need to consider the principles of object-oriented programming, particularly focusing on extensibility and usability. ### Option 1: Composition (has-a relationship) ```csharp class PortfolioA { List<Fund> obj; } ``` ### Option 2: Inheritance...
30,183
[ { "from": "human", "value": "Portfolio A → Fund 1\nPortfolio A → Fund 2\nPortfolio A → Fund 3\nI couldn't frame my sentence without not using is/has. But between 1 & 2,\n1) has a:\nclass PortfolioA\n{\n List<Fund> obj;\n}\n\n2) is a:\nclass PortfolioA : List<Fund>\n{\n\n}\n\nwhich one do you think is bet...
Let's say that you have a product that is written in Visual Studio and you provide your customers and users with an installer for that product. Then, you have some minor changes that you want to deploy to your users; you don't want your users to have to go through an uninstall process, backing up the configuration and ...
To implement a "hot-fix" deployment for your product developed in Visual Studio, you can follow a set of strategies depending on the components (web application, Windows service, and Windows application). Here’s a structured approach: ### 1. Web Application For the web portion of your application, you generally use a ...
26,180
[ { "from": "human", "value": "Let's say that you have a product that is written in Visual Studio and you provide your customers and users with an installer for that product.\nThen, you have some minor changes that you want to deploy to your users; you don't want your users to have to go through an uninstall ...