wsc

0

votes
0

answer
6

views

Secondary thread causes “Application has stopped working” crashes even when invoking

I have an application which has a form with a DataGridView bound to a BindingSource, which is bound to a DataTable: bsList.DataSource = dsData bsList.DataMember = 'List' dgvList.DataSource = bsList The underlying data which populates dsData.Tables('List') can change whilst the user is working so to...
WSC
1

votes
1

answer
22

views

DataGridViewAutoFilterTextBox displaying small number of items

Using this article (https://docs.microsoft.com/en-us/previous-versions/dotnet/articles/aa480727(v=msdn.10)#initialization) and the library included in the demo project I have setup Excel-like autofiltering on a datagridview. However on columns where there are not many distinct values, only one or tw...
WSC
1

votes
0

answer
40

views

Unable to set WinForm MinimumSize.Width Larger than 1278

I want to set the MinimumSize of my form to W:1610, H:750 as this is the minimum size to accommodate all of the controls properly. However, if I change the MinimumSize.Width property to anything greater than 1278, it reverts automatically back to this value (in design view). If I set the size progr...
WSC
1

votes
1

answer
394

views

Can I get a 'better' verbose output in Netbeans 7.3?

I'm trying to find an output mode that will show me the execution and order of every method called in the running program. Verbose and debugger output detail don't seem to give me that. Is there any way to get a detailed output like the one I've described here? Thanks!
wsc
1

votes
2

answer
1.5k

views

Alternatives to HTML5 Audio that play well with Meteor?

I'm having issues with source updating on HTML5 audio in Meteor and am wondering if there are any other audio solutions that are simple and integrate well with the reactivity of Meteor?
wsc
1

votes
1

answer
38

views

Android text file not found

I have a text file in my solution called 'txtWords.txt', which I attempt to read with: string path = Environment.GetFolderPath(Environment.SpecialFolder.Personal); string filePath = Path.Combine(path, 'txtWords.txt'); In my experimenting, I've got the same file under both my C# App and the App.Andro...
WSC
1

votes
1

answer
102

views

Xamarin File Handling Documentation - SpecialFolder.LocalApplicationData doesn't exist

Documentation for Xamarin says you can read a text file using the below: File.ReadAllText(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), 'score.txt')) 'score.txt' being a text file in my solution, however, when compiling and executing that code the file canno...
WSC
1

votes
1

answer
0

views

Updating DataGridView.BackColor on a background thread

I have an application with a DataGridView on which multiple people could be working at the same time. I want to have each user's current row location displayed via a different colour row in the DataGridView. Previously I was doing all of this updating via the RowEnter event however the performance i...
WSC
1

votes
2

answer
942

views

Dynamic Buttons in Netbeans Design View

I am developing a GUI using Swing and Netbeans Design features. I'm a beginner to Netbeans and wondering if there is any way to 'hide' a button by calling a method or by changing any settings in GUI builder. In the design view, I did not notice any option(s) to modify buttons with a method, and t...
wsc
1

votes
3

answer
234

views

Change control property located in Window.Resources from code-behind

I have a WPF window with custom style like this: I want to change BORDERCONTROL background programmatically like this: private void ChangeBackground() { BORDERCONTROL.Background = Brushes.Yellow; } But I can't get access to this control using this method. Is there a simple way to change control pro...
wsc
1

votes
2

answer
3.1k

views

VLookup On Another Workbook

Trying to make a macro that will take an input (a 13 digit number) from cell A7, A8, A9 and so forth until a blank cell is reached, and run a vlookup with this against another workbook. However, I'm just getting the #N/A error and I can't work out why. My current code: Sub getData() Application.Enab...
WSC
1

votes
2

answer
333

views

Send single email to recipients with multiple messages

I have a macro I wrote where users put a list of numbers into column 1, and they press a button and a form opens which lets them select a variety of parameters for the outlook email, including who the email should be sent to. It then sends this list of numbers in the email. I want to change the macr...
WSC
1

votes
3

answer
2.4k

views

Alternative to Vlookup in VBA?

A strange question perhaps, but is there an alternative way of opening a workbook, searching for a particular reference in a column, and then pulling the data from a another column in that row using VBA, without using VLookup? The table I am trying to get data from contains a mixture of numbers, tex...
WSC
0

votes
2

answer
39

views

REGEXP_LIKE for character at any position within substring of 5 characters

I have an old Access query which I'm trying to convert to Oracle SQL. Part of it looks at a string which can have a whole bunch of text and another part of the string is a series of five characters, e.g.: NNNNN What I'm trying to do is find where any of those characters are Y but only when in the sp...
WSC
1

votes
2

answer
54

views

Populate array once and reference later

I have an app which selects a random word from a text file loaded into an array, I currently do this: .xaml: xaml.cs: async void GetWord(object sender, EventArgs e) { var WordsList = new List(); using (var stream = await FileSystem.OpenAppPackageFileAsync('txtWords.txt')) using (var reader = new Str...
WSC
1

votes
2

answer
834

views

Java/JButton: How do I get rid of ellipses on JButton?

I'm having this weird issue and it doesn't seem to be happening on Mac systems, but on Windows. I'm working on this GUI and am trying to make all of the buttons the same length (the length of the longest button) but for some reason on Windows, one of the buttons will not display the entire string a...
wsc
1

votes
1

answer
1.3k

views

Removing shadow from button WPF

I've created style for button in my WPF app: Then I'm putting this style to Button control: When I'm running my app, I see grey shadow under and right of the button. Futhermore when I look in Visual Studio view I don't see shadow. How can I delete this effect? Anyone an idea or an completly other ap...
wsc
5

votes
1

answer
3k

views

MongoDB returns error “Can't canonicalize query” for sort function

db.getCollection('posts').find({}, {sort: {post_id: 1}}) is returning error: { '$err' : 'Can't canonicalize query: BadValue Unsupported projection option: sort: { post_id: 1.0 }', 'code' : 17287 } I'm baffled because I've run queries almost exactly like this in the past. I'm running it through Robo...
wsc
3

votes
2

answer
3.6k

views

Can't find mysqladmin on Mac OSX 10.6.8

I am trying to set admin path on Netbeans and I'm unable to find mysqladmin on OSX 10.6.8 after installing the MySQL Community Server. Anybody have a solution to this problem?
wsc
3

votes
2

answer
15.2k

views

How can I change text color in a Semantic UI vertical menu?

I have an active red link item in a vertical menu and I only want the pointer to be red. What is the most effective way to change the text so it is black? I have attempted to wrap it in a paragraph element but that only makes it difficult to reposition.
wsc
1

votes
1

answer
6.4k

views

Gensim ImportError in PyCharm: No module named scipy.sparse

I am on Mac OS X 10.8.3 (Mountain Lion) and am trying to run a script in PyCharm. Python 2.7.2 is installed, I have installed Canopy and Gensim. I just do not understand what could be causing the error that I'm getting. scipy.__version__ shows that v 0.11 is installed. Here is the entirety of my...
wsc
3

votes
2

answer
434

views

DocumentBuilder doc (with root element) outputs null even though root element is appended

I'm attempting to have it return my empty root element with attributes but am getting [#document: null] output. Am I absolutely required to have a child element for the root? String docDate = '1'; String docNumber = '1'; String orderType = '1'; String transactionType = '1'; try { DocumentBuilderFac...
wsc
2

votes
1

answer
649

views

Why is my request to the Goodreads API returning undefined?

Below is a short example of how I'm using the request module in NPM. It returns undefined, and I'm fairly certain I'm using xml2js correctly. Am I misusing the 'form' option in the request module to pass values to the Goodreads API? Thanks! var req = require('request'); var resp = req.get('ht...
wsc
2

votes
1

answer
1.3k

views

How can I extend a vertical menu to fill up an entire blank column in Semantic UI?

I want to extend the menu on the left to have no padding between the top title menu and to extend to 100% of the vertical height of the page (basically so there is just blank white all the way down under the menu options), but I do not want that gutter to apply to the other column on the right (the...
wsc
1

votes
0

answer
18

views

How do I update the list of available commits in Netbeans/Mercurial?

I have a NetBeans project linked to a remote Mercurial repo that I'm trying to update to the most recent commit, however, when I open the update window it does not show the most recent commits. The most recent one available is a tip that's a few months old but the logs on BitBucket say that it's be...
wsc