|
OriginalGriff wrote: And anything online. Nah, we know online systems are secure, so you can give them all your details in the knowledge that none of it will ever leak out. Might get sold to some scammers though.
|
|
|
|
|
Probably number 1, and I should have gone to Home and checked.
Actually (probably) not. If it goes to moderation then I get an email notification.
|
|
|
|
|
Get the ticket anyway - it's a rollover tomorrow!
(I have to, Herself insists... )
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I would not recommend ToString-ing the contents of the Text property. It is already a string, but if it contains "null", then it would blow.
I'd also advise against the "trim". If my passwords ends in a space, then you are not to remove it.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi I added new dataset names: "DataSet1" from dataset designer to my application.
I added One table names: "BinTable" form my database.mdf in this dataset by dragging table.
I want to add 100 rows in my table. It works when I run program but when I close it, changes did not save in my database.
please help me
Here is the code:
DataSet1TableAdapters.BinTableTableAdapter Adapter = new DataSet1TableAdapters.BinTableTableAdapter();
for (int i = 1; i < 100; i++)
Adapter.Insert(i, 100, 100, 100, 100);
DataSet1.BinTableDataTable dt = new DataSet1.BinTableDataTable();
Adapter.Fill(dt);
foreach (DataRow row in dt.Rows)
{
}
modified 3-Aug-15 4:18am.
|
|
|
|
|
Thank You I Found My Answer;)
|
|
|
|
|
would be nice if you shared your solution so that everyone can learn from it.
|
|
|
|
|
hi
How to get only numbers from string ?
for example:
abcde123.45po => 123.45
ab, 098,zx => 98
thanks
|
|
|
|
|
Try a regex:
\d+(\.\d+)? Should do it.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Private void GetNumbers()
{
String str = "avinash9499483Kumar92938Singh";
MatchCollection mc=Regex.Matches(str, @"\d+");
String result="";
for (int i = 0; i < mc.Count; i++)
{
result+=mc[i].Value.ToString();
}
MessageBox.Show(result.ToString());
}
Avinash Kr Singh
Software Lead Developer
Kreativevistas Solutions Pvt. Ltd.
New delhi-110088 India
|
|
|
|
|
Hi there,
These are my first steps in C#, i generally develop in C for micro Controllers. I am fighting with the problem that I cannot create a reference in Visual Studio Express 2015 to the office PIA.
I found this desription and installed the the redistributable following point (1).
https://msdn.microsoft.com/en-us/library/4xa0e82x%28v=vs.90%29.aspx[^]
Is there a possibility to varify if it is installed properly? I cannot find the dll (Microsoft.Office.Interop.Outlook.dll) on my PC, where is it supposed to be located?
Here is the procedure of how to create the reference, however, in the framework tab, the office PIA is not available to select
https://msdn.microsoft.com/en-us/library/dww0e04a%28v=vs.90%29.aspx[^]
I am wondering if it is basically possible to use the office interlop in VS express. Here it is stated that that you need professional for office solutions. However, I thought it is only related to the creating of the project.
https://msdn.microsoft.com/en-us/library/bb398242%28v=vs.120%29.aspx[^]
If it is not possible, what alternatives do I have to develop a litte private application that needs to use the Microsoft.Office.Interop.Outlook?
|
|
|
|
|
You might want to take a look at the Visual Studio 2015 Community Edition[^], it is basically Professional under a free license (for small teams/student/private use/etc). I have it installed, and it comes with Office Developer Tools.
The installer you used installs to the Global Assembly Cache, which is why you can't find them.
There are a number of programs to help with finding libraries in the GAC, such as GAC Manager[^] (comes with an API) and GAC Explorer[^] (My preferred program). GAC Explorer can also copy assemblies out of the GAC. I am not sure if GAC Manager can do that.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Please help me with simple way
|
|
|
|
|
Create a WPF project
Add a View to the project
Open the toolbox tab on the left of the ide
drag the gridview object onto the designer.
Simples!
Get a book, work through some examples and articles you will find if you do the most rudimentary research.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Many ways, the best one (IMO) is already shared in first reply. Other ways include using C# code,
DataGrid dGrid = new DataGrid();
Other than that, you can also write the XAML markup in your code.
<DataGrid Name="dGrid" />
These methods are used to create a DataGrid. Then you need to pass the data as a value for ItemsSource property to actually render the values in it.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Let say I want to write a simple document editor, say I want to make (yet another) Notepad2 app!!
How unrealistic an endeavor is that?
My particular problem is that creating FileStream to random location on the file system seem completely impossible!
In my case I am making some proprietary format file editor. I would like to use Windows store
API AND I would like to open previously open file when the app start and also save edited file when user press CTRL+S (without going through a file picker)
But this scenario seems to be a show stopper... since I don't have file access....
Am I missing something?
|
|
|
|
|
Hi, I am not totally sure this is relevant, but Pete O'Hanlon has a series of articles that began in May where he is building an app with Portable Class LIbraries: [^].
And, a focus of this series is the architectural strategies he uses (based on the SOLID "school" of development theory).
cheers, Bill
«I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut.
|
|
|
|
|
It might not be relevant... but it's worth having a look at Peter's good work!
|
|
|
|
|
I don't think it's possible to access random files from a store app without user interaction.
This blog[^] suggests that you can read and write specific file types within the documents library by changing your manifest. Beyond that, everything I've seen suggests that you're limited to the isolated storage folders for your own app.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Yeah, I guess Windows Store app is not for me! :/
Too bad!
|
|
|
|
|
Hi,
I am trying to migrate my utility library (formerly a plain .NET4.5 library) to a PCL library which supports both .NET 4.5 and the Windows Universal app (for Windows 10) app.
I got some issue working out why some things are working and some are not.
For example Task is fine. I can do Task.Run() on both .NET4.5 app (obviously!) and Universal app.
But Thread is not. new Thread() will fail to compile for Universal app.
Trying to use the documentation is of no help. In either project it send me to the same location! From which I am lead to believe that (System.Threading.)Thread class does exists! Though it doesn't! (in Universal app, that is)
Is there any tip / trick / reference (other than the compiler complaining) that will let me know in advance which .NET4.5 class will be supported in a Universal library and which is not?
|
|
|
|
|
Look at the .NET API you want to use and look for this image[^]. That tells you if the API can be used in a PCL project.
No Thread constructors are marked with that image, so you cannot create new threads.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Oh... this Icon is not present on either Task or Thread in the offline documentation!
Mm... so there is a few extra on the online documentation hey?!
Thanks!
|
|
|
|
|
I remember seeing a red shopping bag like icon on local versions of the documentation. I think that means the same thing.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Well the offline documentation in VS2015 doesn't seem to have anything!
Well I can see whether it works on Silverlight, Windows Phone (silverlight), etc.. But Windows Runtime support doesn't seems to have any distinct UI with it!...
|
|
|
|