473,544 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Latest Bytes Forum

Support forums for various IT topics. Programming languages, databases, systems, applications and more. Subscribe to a community, participate, ask, share your expertise and network.
 
6
100,495
thread by: Mortimer Schnurd | last post Nov 16 '05 by: ShaneB
I'm not quite sure of how to do this and I haven't been able to find much about it. I'm hoping someone here can help me out. In a nutshell,: I would like to use a foreach loop to iterate through an Array which is returned by a method, foreach ( string groupName in MySplitterFunction(stringToSplit) ) Now, how do I write the method so it...
10
100,466
thread by: | last post Jul 20 '05 by: MH
Can I link to another page with a <input type=button> without javascript??? Thanks
2
100,386
thread by: Arielle | last post Feb 22 '09 by: foochal
Okay I've been wracking my brain all morning trying to figure this one out. It seems like to me it -should- work so kudos for anyone who can tell me what I'm doing wrong. <html> <head> <style type="text/css"> .subset A{ background-color:#EAEFF5; color:#000000; height:12px;
1
100,384
thread by: MrNobody | last post Oct 31 '06 by: Basil Abusamrah
what's the trick in showing/hiding columns in ListView's Details view mode? I can change a columns width to 0 and it effectively makes it disappear but then you can actually resize the column to bring it back into view. Is there any way to disable resizing for just that one column? Any other way to do this?
6
100,370
thread by: Craig Thomson | last post Jul 20 '05 by: Spartanicus
How can I have some text aligned to the left of the page and some more text aligned to the right using only CSS without a table? SPAN doesn't have any alignment, and there is only a single DIV block per line, and so only one alignment. TIA Craig
2
100,341
thread by: Jim H | last post Nov 16 '05 by: Jim H
I am storing incoming data in memory using a DataTable. After I'm done retrieving the data I need to get the distinct rows. I tried using DataTable.Select but that doesn't work. If I have columns "col1", "col2", "col3" in my DataTable "Table1", I need to basically be able to do this: select distinct col2 form Table1 I tried doing this:...
16
100,302
thread by: adj76 | last post Feb 6 '17 by: wabarron
Please help! I get a screen popping up all the time that says Windows Installer preparing to install... and it has a cancel button. It comes up when I go into my email program, when I want to write an email, when I get online, and when I go to many different sites online. When it comes up is stays on the screen for 30-60 sec, whether I click...
9
100,288
thread by: divina11 | last post Jan 29 '20 by: gits
So, if you have two buttons side by side how do you create space between them? I've tried the 'SPACER' tag, however this did not work? <input type="button" id="" value=" " onclick=""> <input type="button" id="" value=" " onclick=""> Ta. Divina
8
100,234
thread by: Tim Clacy | last post Jul 19 '05 by: Peter van Merkerk
How is a 64 bit type defined in strict C++? It seems C has support for 'long long' since C99, but not so for C++? Looking through one compiler vendor's standard library headers has clouded the issue somewhat; it uses __int64 in some places (with a comment about strict) but freely uses 'long long' in other places. In any case, these...
4
100,107
ashitpro
thread by: ashitpro | last post Aug 6 '17 by: ChristianC123
Hi all One of my building process has successfuly end up with .pkg file. How can I install it on ubuntu? I tried it with "dpkg -i myfile.pkg" It ends with error..not supported file format Any idea
5
100,077
thread by: Paul Morrison | last post Mar 9 '06 by: Janwillem Borleffs
Hi I have looked at the PHP string functions and I cant see any function to check to see whether a string starts with a certain letter or letters. Is there any way of doing this with the built in functions? Cheers, Paul
3
99,972
digicrowd
thread by: digicrowd | last post Jul 31 '10 by: zuluflyer
http://bytes.com/images/howtos/applemail_sig_icon.jpg You can make your emails fancy in Mail.app by using Rich Text formatting or even included Stationery. But, a simple way to send your own HTML creation (or any web page for that matter) is to use Safari. Follow these four easy steps. 1. Create the HTML Layout your HTML code including any...
7
99,806
thread by: Saurabh | last post Jun 5 '06 by: Jonathan Mcdougall
Hi , i am working with g++ on Linux.is there a way in C++ to get current time in milliseconds.( <ctime> provides accuracy upto seconds). I googled for it,searched the newsgroup but couldnt find anything. i hope i will get the help thanks & regards Saurabh
2
99,694
thread by: wrobl1rt | last post Jan 24 '15 by: mrkozma
I am trying to remove a specific substring from a string... Here are the doctests that are supposed to pass. I'm just absolutely stumped. Can someone point me in the right direction on where to start? def remove(sub, s): """ >>> remove('an', 'banana') 'bana' >>> remove('cyc', 'bicycle') 'bile' >>> remove('iss', 'Mississippi')
6
99,588
thread by: Bina | last post Dec 14 '12 by: varadeharsh108
Hi, I m new in c#.net . In C#.net, how i will get the current working path? when i used following function "Application.StartupPath" then it show the executable path.(e:\Project\DataList\bin\debug). But i have created my project at the project directory. Now i want to get the path (e:\Project\DataList\). How i will get this? IS there any...
4
99,402
thread by: Bart the bear | last post Aug 8 '07 by: ELINTPimp
Is there a smarter way for this: $line_elems=array($new->machine, $new->channel, $new->time, $new->bday, $new->eday, $new->name); $line = join(':',$line_elems); $line="$line\n";
3
99,377
thread by: Martin Pöpping | last post Nov 6 '06 by: Bjorn Abelli
Hello, I´m coming from the Java World. Here Programmers often use (like in C++?) getter and setter methods. F.e.: class Mirror{ private int width_;
6
99,271
thread by: ORC | last post Nov 16 '05 by: ORC
When having a string that is defined as a stringbuilder it can be converted to a string by this: StringbuilderText.ToString(); But what about the otherway round? Thanks Ole
3
99,079
thread by: Julia | last post Jul 23 '05 by: Lasse Reichstein Nielsen
Is there some way in Javascript to abort a script...not just a function, but the entire script? Most languages I've used have something like an exit or abort function. I want to be able to alert the user with a message, and then just have the script stop dead where it's at. Is this possible? Thx, Julia
4
98,966
thread by: Amardeep Verma | last post Jul 19 '05 by: Amardeep Verma
Hi, I have a quick question. Which role/privileges are required before a user can give the statement "GRANT ALL PRIVILEGES"? Thanking you in Advance Have a nice day
9
98,794
thread by: Sandy | last post Jul 19 '05 by: Ed prochak
I am trying to do the following: EXEC SQL UPDATE MY TABLE SET COL1 = :newValue WHERE COL1 = 0 AND ROWNUM = 1 ORDER BY COL2; (index on COL1, COL2)
10
98,739
thread by: D. Yates | last post Jan 12 '06 by: Jon Skeet [C# MVP]
All, Is there a faster way to do this in C#: byte buffer; buffer = new byte; for(int i = 0; i < buffer.Length; i++) buffer = 0;
5
98,688
thread by: meeeeeeeeeep | last post Nov 6 '09 by: tlhintoq
i use: fiFileInfo.CopyTo(Path.ChangeExtension(fiFileInfo.FullName + fiFileInfo.Extension, ".enc"), false); to rename a file (eg: crap.ppt -> crap.ppt.enc). if the file is really big (400mb), this take 6-7 minutes. is there a better way to rename files? regards meeeeeeeeeep
7
98,445
thread by: Brett | last post Nov 17 '05 by: John B
What is the C# equivalent of VB.NET's Exit Sub? Thanks, Brett
7
97,975
thread by: Randy | last post Nov 15 '05 by: Jon Skeet [C# MVP]
Hello, Is there an easy way to convert a string to a stream? Thanks

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.