logo
down
shadow

Recently Questions

C#: Need for help on encrypting connection string in app.config and save it there and decrypting it and use?
C#: Need for help on encrypting connection string in app.config and save it there and decrypting it and use?
seems to work fine You can use aspnet_regiis.exe -pef for that.See Encrypting the connection string in ASP.NET V2.0 and Encrypting Web.Config Values in ASP.NET 2.0 articles for further explanations.
» chash
Date : October 15 2020, 01:19 AM , By : itsmegb
Searching and Inserting in a map with 3 elements in C++
Searching and Inserting in a map with 3 elements in C++
I wish this help you A map can only map one key type to one data type. If the data contains 2 elements, use a struct or a std::pair.
» cpp
Date : October 15 2020, 01:19 AM , By : walshtp
Would CSPRNG + XOR be a secure encryption method?
Would CSPRNG + XOR be a secure encryption method?
I wish did fix the issue. Essentially this is just using Blum Blum Shub (or whatever PRNG) as a stream cipher. This isn't how they're designed to be used, and they might be weak to attacks that make sense in a stream cipher context but not in a CSPRN
» encryption
Date : October 15 2020, 01:19 AM , By : Keniwan
How to give a file path in code instead of command line
How to give a file path in code instead of command line
I wish this helpful for you I've been working on my module exercises and I came across this code snippet which reads the text file and prints the details about it. , In your static void Main, call
» chash
Date : October 15 2020, 01:19 AM , By : Valentine
zend-framework navigation
zend-framework navigation
fixed the issue. Will look into that further Why do you need to store this in database?If you really need, the best way is nested set.
» zend-framework
Date : October 15 2020, 01:19 AM , By : Josh
Jquery and Extjs Simplest Tutorial
Jquery and Extjs Simplest Tutorial
it should still fix some issue Ext JSTake a look at the Ext Core Manual http://www.extjs.com/products/extcore/manual/
» javascript
Date : October 15 2020, 01:19 AM , By : jbcrail
Is there a better .NET template system than XSLT?
Is there a better .NET template system than XSLT?
around this issue I have personally use Spark. Its an easy to use text templating library (below is an example of Spark syntax)
» asp.net
Date : October 15 2020, 01:19 AM , By : Gipsy.D
Do You Give Users Access To Your Database Or Are Queries Executed By A Shared Username
Do You Give Users Access To Your Database Or Are Queries Executed By A Shared Username
I hope this helps you . I always use a database login/user set up for my application. By doing this i can operate reasonably safely within a database that may be shared with other applications - my application can be granted just the permissions it n
» chash
Date : October 15 2020, 01:19 AM , By : Gilmar Souza Jr.
Local Database Storage default data
Local Database Storage default data
I hope this helps you . I have developed application using HTML 5 Localstorage.
» html
Date : October 15 2020, 01:19 AM , By : snk
How to make sure Solr/Lucene won't die with java.lang.OutOfMemoryError?
How to make sure Solr/Lucene won't die with java.lang.OutOfMemoryError?
will help you Looking at the stack trace, it looks like you are performing a search, and sorting by a field. If you need to sort by a field, internally Lucene needs to load up all the values of all the terms in the field into memory. If the field con
» development
Date : October 15 2020, 01:19 AM , By : Liviu Aileni
jquery modal window
jquery modal window
hop of those help? Take a look atjQuery Ui dialog
» jquery
Date : October 15 2020, 01:19 AM , By : GunnarHafdal
Approaches for Error Code/Message Management in .NET
Approaches for Error Code/Message Management in .NET
this one helps. Error codes are old skool, you needed them back in the bad old days of COM and C programming, environments that didn't support exceptions. Nowadays, you use exceptions to notify client code or the user about problems. Exceptions in .N
» .net
Date : October 15 2020, 01:19 AM , By : Jouni
Frozen last row of DataGridView as the sum of the columns?
Frozen last row of DataGridView as the sum of the columns?
I wish this help you The solution is actually very simple, and just requires you to think outside the box a little.Usually, once data is loaded into your grid view, there's a dark grey row at the bottom of it:
» chash
Date : October 15 2020, 01:19 AM , By : ravibits
Set background color for Dialog titlebar?
Set background color for Dialog titlebar?
help you fix your problem I'm creating a class derived from Dialog. The titlebar of the dialog looks really nice, it's a dark grey color that is somewhat transparent. Is there a way to set the color used for the background of the titlebar? The grey i
» android
Date : October 15 2020, 01:19 AM , By : mylonov
populating bean objects from the resultset
populating bean objects from the resultset
Hope this helps Have a running Map of the resultset here is a possible pseudocode[pseudo code only... not guaranteed to compile]
» java
Date : October 15 2020, 01:19 AM , By : Jenuel
WPF: Window stays minimized even when setting WindowState explicitly
WPF: Window stays minimized even when setting WindowState explicitly
Hope this helps I cross posted my question on the MSDN Forums and it got answered there. To quote the answer:
» wpf
Date : October 15 2020, 01:19 AM , By : user90210
Implementing a game for the web using PHP/Javascript?
Implementing a game for the web using PHP/Javascript?
To fix this issue Basic you must not decide where to stop on client side. So u cant use random function in javascript. You have to generate a random variable at server side using PHP, then use animation in browser to show the rolling affect.The Rolli
» php
Date : October 15 2020, 01:19 AM , By : mgz
Extract the surrounding words together with the match
Extract the surrounding words together with the match
should help you out I am looking for every occurence of a search term, e.g. ddd, in a file and output the surroundings, like this: , You can try the following..it gives the output you want:
» regex
Date : October 15 2020, 01:19 AM , By : DarrenBeck
Starting VirtualBox VM using Python
Starting VirtualBox VM using Python
it helps some times You can use the real python bindings instead (and not a wrapper that call the VBoxManager command line in a subprocess, say pyvb) relatively easily by using the vboxshell.py script from virtual box.Or you can use it for reference
» python
Date : October 15 2020, 01:19 AM , By : adbanginwar
Odd Constructor
Odd Constructor
I hope this helps you . As already mentioned, it's a destructor. However, not only should you probably not be explicitly implementing a destructor, you really should not be forcing a GC collection from inside a destructor, because the destructor is i
» chash
Date : October 15 2020, 01:19 AM , By : KingGuppy
Can't read the value of a button click from a userform
Can't read the value of a button click from a userform
will be helpful for those in need [SOLVED] I finally figured ti out. I just needed this statement in the Declarations Section of Module1:Public BtnCancel As Boolean
» excel-vba
Date : October 15 2020, 01:19 AM , By : somebody
Holding ConnectionString in app.config or properties.Resources of a C# project?
Holding ConnectionString in app.config or properties.Resources of a C# project?
I think the issue was by ths following , It's better to put it in app.Config if you want to be able to change this post-deployment. If you only need it to be configurable at compile time, either option is fine. Compile-time only configuration in reso
» chash
Date : October 15 2020, 01:19 AM , By : user142345
Error "Cannot implicitly convert type 'int' to 'string'"
Error "Cannot implicitly convert type 'int' to 'string'"
may help you . It's the switch where you're using it as an int - You probably meant to pass monthNum to the switch statement.(Also: Shouldn't you have monthNum == ... in all of the ifs in the first part?)
» chash
Date : October 15 2020, 01:19 AM , By : Sebastian Gift
Three phases of recovery : the analysis phase, the redo phase, and finally the undo phase
Three phases of recovery : the analysis phase, the redo phase, and finally the undo phase
like below fixes the issue From Understanding How Restore and Recovery of Backups Work in SQL Server
» sql
Date : October 15 2020, 01:19 AM , By : tanminivan
SimplePie not parsing flickr feed
SimplePie not parsing flickr feed
Does that help The purpose of 'replace_invalid_with_pct_encoding' is to escape all invalid characters in a query string.so just removing it may not be the safest option. Since then invalid characters in links that are coming in via the rss entries ar
» development
Date : October 15 2020, 01:19 AM , By : Mariocki
Signedness of char and Unicode in C++0x
Signedness of char and Unicode in C++0x
To fix the issue you can do char will be the type used for UTF-8 because it's redefined to be sure it can be used with it:
» cpp
Date : October 15 2020, 01:19 AM , By : sadboy
Using a Grid as the ItemsPanel for an ItemsControl in Silverlight 3
Using a Grid as the ItemsPanel for an ItemsControl in Silverlight 3
This might help you What you have won't work because Silverlight wraps each item -- each instance of the DataTemplate -- in a ListBoxItem, and the Grid.Column and Grid.Row attached properties need to be applied to that ListBoxItem, not to the TextBox
» silverlight
Date : October 15 2020, 01:19 AM , By : user179271
java compiler optimization
java compiler optimization
around this issue Nothing prevents the bytecode compiler (java->bytecode) from performing optimizations. When I worked at Symantec, and they did a Java IDE, the compiler write did look into putting some optimizations into our compiler but said nobody
» java
Date : October 15 2020, 01:19 AM , By : littlefuzz
How are singletons handled in a web application?
How are singletons handled in a web application?
To fix this issue If your execution environment uses multiple class loaders, then you get one singleton per instance of your class. If your singleton class is loaded into different class loaders, then it's actually two distinct classes and then there
» java
Date : October 15 2020, 01:19 AM , By : Verbal
Swing / Java2D statistics and visualisation libraries
Swing / Java2D statistics and visualisation libraries
it helps some times I'm a fan of JFreeChart.Addendum: There's a page of static examples and comprehensive suite of live demos available via Java Web Start.
» java
Date : October 15 2020, 01:19 AM , By : Terrence Poon
C# : Anyone know how to fix this? : The type or namespace name 'T' could not be found
C# : Anyone know how to fix this? : The type or namespace name 'T' could not be found
Hope this helps You have to specify a concrete type here, rather than the type placeholder, T:
» chash
Date : October 15 2020, 01:19 AM , By : Salikh
(Design Idea) Best Practise to reserve record for multi-process workflow engine
(Design Idea) Best Practise to reserve record for multi-process workflow engine
Any of those help In Oracle, depending on version:10g and down -- use Advanced Queuing. Have your job dequeue the keys that you've had enqueued.
» java
Date : October 15 2020, 01:19 AM , By : TheDave1022
Difference between i++ and ++i in a for loop
Difference between i++ and ++i in a for loop
Any of those help Nothing at all. The increment is a lone statement, so whether it is pre-incremented or post-incremented doesn't matter.
» cpp
Date : October 15 2020, 01:19 AM , By : jrf
Leveraging Core Animation for Animation in OpenGL
Leveraging Core Animation for Animation in OpenGL
will be helpful for those in need I suspect what you really want are just the easing functions used by core animation. These are easy enough to find with a little googling. Here's one example:
» iphone
Date : October 15 2020, 01:19 AM , By : dyarborough
XHTML Validation problem within Javascript
XHTML Validation problem within Javascript
I hope this helps . Your ampersands need to be amp; instead of just when outside of javascript, inside javascript you need to use this style with your script tags:
» javascript
Date : October 15 2020, 01:19 AM , By : Marc
Why doesn't MySQL define a boolean data type?
Why doesn't MySQL define a boolean data type?
this one helps. It's because the SQL specification didn't define one until SQL:1999 and it's not enforced. MySQL's ahead of most of the pack just for allowing the keyword - MSSQL, DB2, and Oracle use BIT and some true/false constants to fake it.(Basi
» mysql
Date : October 15 2020, 01:19 AM , By : user185283
How would a job scheduler like quartz work when you have multiple servers?
How would a job scheduler like quartz work when you have multiple servers?
wish helps you I've solved this by only letting one of the servers run the scheduled jobs. If that job server goes down I reconfigure another server to start running jobs in its place. In my case the jobs are not all that critical so I can afford thi
» java
Date : October 15 2020, 01:19 AM , By : chudq7
Manipulation of the right click context menu in windows shell
Manipulation of the right click context menu in windows shell
With these it helps I have been trying to manipulate my right clicks inside windows, using the registry. I managed to add single lines inside the shell. , To add a sub menu you will need first to add the menu name like:
» development
Date : October 15 2020, 01:19 AM , By : smbrant
How to generate a pop up page link in ASP.NET MVC
How to generate a pop up page link in ASP.NET MVC
around this issue How to generate a javascript link in asp.net mvc? , Yes, you can do something like:
» asp.net-mvc
Date : October 15 2020, 01:19 AM , By : Marc Dong
.NET / WPF Alternative
.NET / WPF Alternative
this will help How about Silverlight?
» .net
Date : October 15 2020, 01:19 AM , By : Karina
How to optimize working with array in the following code in javascript?
How to optimize working with array in the following code in javascript?
I wish this help you Minimize the amount of work you do in the loop. Don't add stuff to the DOM in the loop, create a string.
» javascript
Date : October 15 2020, 01:19 AM , By : Ron
Objective-C and Android
Objective-C and Android
hop of those help? Step back and think about what in the end you will logically be able to share.The UI models are fairly different, the components are different. In the end what you might be able to share is data object classes, possibly some algori
» java
Date : October 15 2020, 01:19 AM , By : kgw
Can I use methods of a class without instantiating this class?
Can I use methods of a class without instantiating this class?
I hope this helps . It's called static variables and static methods. Just try it and see that it compiles.
» java
Date : October 15 2020, 01:19 AM , By : user92243
How can I use OpenSSL to encrypt a message using my public key and then decrypt it using my private key?
How can I use OpenSSL to encrypt a message using my public key and then decrypt it using my private key?
like below fixes the issue Here is what I've tried: , This code works:
» encryption
Date : October 15 2020, 01:19 AM , By : rhyhann
Is there any way in Eclipse to format a code that contains divs in the way Netbeans do it?
Is there any way in Eclipse to format a code that contains divs in the way Netbeans do it?
This might help you The shortcut you'll need is: CTRL + SHIFT + FThat works for HTML, CSS, PHP, XML, JS and so on. But you need to have a PHP, HTML editor/plugin like Aptana, PDT or WTP.
» eclipse
Date : October 15 2020, 01:19 AM , By : Sandip
HTML DOM drag-n-drop: what about when mouse leaves window?
HTML DOM drag-n-drop: what about when mouse leaves window?
Does that help In IE7/IE8 you can detect if the mouse was released outside the window by using the following code:
» html
Date : October 15 2020, 01:19 AM , By : Ashaea
Calling C# From Unmanaged C++ Passing Or Returning "Complex" Types
Calling C# From Unmanaged C++ Passing Or Returning "Complex" Types
Hope that helps If possible, I'd avoing bringing COM into the picture. If you control the C++ code (it sounds like you do), it should be easier to add a single C++/CLI cpp file that calls into your C code. C++/CLI can directly access and create manag
» chash
Date : October 15 2020, 01:19 AM , By : user181345
Sequential workflow console application template missing in VS2010 Ultimate Beta2
Sequential workflow console application template missing in VS2010 Ultimate Beta2
help you fix your problem In VS2010 Pro RC1 the sequential workflow console app and state machine workflow console application are only available if you choose .Net Framework 3.5 in the combobox above the project types.But why worry about beta 2, now
» visual-studio-2010
Date : October 15 2020, 01:19 AM , By : Sebastián Ucedo
in windows SAS, how to read the file loaded recently in particular path
in windows SAS, how to read the file loaded recently in particular path
I hope this helps you . If you have non-SAS files in the destination directory, you can pipe a command such as dir /od /b to a data as illustrated in this question. If all the files are SAS datasets, create a libref to the directory and try
» windows
Date : October 15 2020, 01:19 AM , By : Tornike
Database insert performance
Database insert performance
fixed the issue. Will look into that further I can only really comment on sql-server, but there are some things to try: command batching (i.e. do multiple INSERT in a single hit to the db) bulk insert (via SqlBulkCopy)
» chash
Date : October 15 2020, 01:19 AM , By : Epora75
Could not load type 'site._Default'
Could not load type 'site._Default'
Hope that helps I have develop a simple website using VS8 and C when I debug everything works fine, then I built using Ctrl + Shift + B and when I upload the site to a godaddy server it display the next error: , Simply change "CodeBehind" to "CodeFil
» asp.net
Date : October 15 2020, 01:19 AM , By : meodudang
Simple jQuery: Adding multiple values to textboxes
Simple jQuery: Adding multiple values to textboxes
This might help you Using the following source: , Tiles:
» jquery
Date : October 15 2020, 01:19 AM , By : ERaubenheimer
What is the best way to store an ActiveRecord object in memcached?
What is the best way to store an ActiveRecord object in memcached?
I wish did fix the issue. There are currently two problems with storing ActiveRecord objects in memcached. , In our projects we store the object as XML.
» ruby-on-rails
Date : October 15 2020, 01:19 AM , By : 3NZ0
How to analyze HTML Page using PHP?
How to analyze HTML Page using PHP?
fixed the issue. Will look into that further With file_get_contents() or the like and an HTML parser.
» php
Date : October 15 2020, 01:19 AM , By : µilad
why does this work on android 1.5 but not 1.6 (location manager)
why does this work on android 1.5 but not 1.6 (location manager)
this one helps. In general, use adb logcat, DDMS, or the DDMS perspective in Eclipse to look at the Java stack trace associated with the "force close" dialog, to see what the problem is.In your case specifically, it will not work because you have not
» android
Date : October 15 2020, 01:19 AM , By : MikeW
Referring to parent class properties and methods when inside a class property object
Referring to parent class properties and methods when inside a class property object
hop of those help? I want to settle this confusion in my mind once and for all! I am having trouble reaching some of my class properties and methods. Now, I know I could use a object literal and append all of my references with the objects name, e.i.
» javascript
Date : October 15 2020, 01:19 AM , By : Porta
Oracle xmltype extract function never deallocate/reclaim memory until session down
Oracle xmltype extract function never deallocate/reclaim memory until session down
seems to work fine PL/SQL variables and instantiated objects are some in session memory, which is why your programming is hitting the PGA rather than the SGA. Without knowing some context it is difficult for us to give you some specific advice. The g
» oracle
Date : October 15 2020, 01:19 AM , By : Nicholas Hunter
Hadoop dfs -ls returns list of files in my hadoop/ dir
Hadoop dfs -ls returns list of files in my hadoop/ dir
I think the issue was by ths following , Did you edit the core-site.xml and mapred-site.xml under conf folder ? It seems like your hadoop cluster is in local mode.
» hadoop
Date : October 15 2020, 01:19 AM , By : Ron
Set an exe icon for my program
Set an exe icon for my program
wish helps you Ben had a good start to the question along with the help of Tymek, but you need to go to the next step. Once you have added your icon to your resources, you will also need a resource file .rc in order to set the icon as the main icon o
» cpp
Date : October 15 2020, 01:19 AM , By : omaidog
PHP: tmpfs vs memcached
PHP: tmpfs vs memcached
it fixes the issue Just a couple points tmpfs or ramdisk are more mature than memcached (been around longer but both are stable tmpfs is scalable (you can resize or increase as needed without loosing the contents of tmpfs memcahced is great if you ne
» php
Date : October 15 2020, 01:19 AM , By : somebody

shadow
Privacy Policy - Terms - Contact Us © scrbit.com