64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Mr.M

Hi Guys. I'm trying to suspend a process by it name, but I found the sample that demontrate this using ProcessId. The problem is that I don't know the process ID of the process I want to suspend/resume. [Here is a sample I used.](https://social.msdn.microsoft.com/Forums/en-US/cdde6cef-3971-40a6-b4dd-02db963868ce/suspend-an-application?forum=vbgeneral)

Member Avatar for Mr.M
0
577
Member Avatar for rhys1619

hi, so ive been trying to add a splash screen to the start of my game. the user presses "e" to continue and "q" to quit. it's not working, could anyone help. import os import pygame import random pygame.init() #Colours im using in the game white = (255,255,255) black = …

Programming os-x python
0
265
Member Avatar for lewashby

I've tinkered with php in the past but I'v also enjoyed playing around with python. I have been wanting to give python a try as a possible alternative to php but I haven't had much luck. All of the videos I find on the subject are about setting up Django …

Member Avatar for lewashby
0
1K
Member Avatar for Jon_7

I have a chart for my fundraising goal, but I'd like to make it more minimal by removing the percentage number and placing the 4 items immediately below the table into the table itself. I'd still like for the % to be able to be manually set (perhaps a data …

Member Avatar for Jon_7
0
319
Member Avatar for Suzie999

Hi. I invoke method from other thread which did not create ui. Appears to work well... DVG.Invoke((MethodInvoker)(() => dgv.Rows.Add(DGVR))); But I need return value from Add method, so I do... int Index = (int)DVG.Invoke((MethodInvoker)(() => dgv.Rows.Add(DGVR))); Unfortunately I get an error... "Object reference not set to an instance of an …

Member Avatar for Suzie999
0
231
Member Avatar for showman13

I am simply trying to compare a value entered into a form, to ensure it begins with a ? mark. I have tried suggestions I could find online but can't seem to get it to see when the ? is missing Any suggestions or direction would be greatly appreciated. if(!preg_match("/[\s]*(?)/i", …

Member Avatar for showman13
0
146
Member Avatar for SimonIoa

Hello i am not familiar with returning HTML in Javascript code. I have this code. I want to return an audio player but nothing returns. var uploadImageHTMLTitle='<audio controls preload="metadata" id="'+data.msg_id+'">'; var uploadImageHTMLFooter='</audio>'; var uploadImageHTML=''; var C=''; if(data.uploadPaths.length) { if(data.uploadPaths.length > 1) { uploadImageHTML+=uploadImageHTMLTitle; for(var i=0; i<data.uploadPaths.length; i++) { C='<source src="'+data.uploadPaths[i]+'" …

Member Avatar for SimonIoa
0
310
Member Avatar for yawar260

Hi,my name is yawar i am a student learning c#.I have combobox,when i select an item in combobox there comes data which i want to display on labels,but my problem is there comes many data,i want to display only 3 labels when only 3 data rows comes from database and …

Member Avatar for Santhosh_3
0
276
Member Avatar for Chris_38

Can someone give me some programming ideas to keep my knowledge up-to-date? I received a masters degree in computer science back in December and been job searching since then. I want to tell an employer something.

Member Avatar for rproffitt
0
292
Member Avatar for <HHH>

Hello, I'm trying to write my first cookie on python but when i import cookie or even http.cookie it gives me the below error import cookie c = cookie.SimpleCookie() c["value"] = "first" print (c) ImportError: No module named 'cookie' [Finished in 0.3s with exit code 1] [shell_cmd: python -u "C:\Users\hohait\Desktop\test.py"] …

Member Avatar for <HHH>
0
5K
Member Avatar for rpv_sen

Hi can any one please help me with some sample for multiple textbox value in php search. all the fields in the search are in one table. I have attached screen for the reference. ![a4ec5f0f3cab021bb2e13c6b18d4c008](/attachments/small/3/a4ec5f0f3cab021bb2e13c6b18d4c008.JPG "align-left")

Member Avatar for Kon Hu
0
520
Member Avatar for FakeTales

Hey i have a basic game which requires a client to guess the number which is located on the server side, mutliple clients can access the same game. The client sends their guess this in turn passes to a middleware server then this then goes to the end server. If …

Member Avatar for Arman_5
0
531
Member Avatar for rhys1619

hi, im making a game in pygame game and i was wanting to add an image (just a png of the story) before my game. I was wondering if anyone can help me with how i would do this. thanks

Programming python
Member Avatar for rproffitt
0
283
Member Avatar for Violet_82

Hi, I'm thinking to upgrade from java sdk 7 to 8 (JamesCherrill will be pleased,lol!) and I was just wondering if there is anything I need to be careful with, especially in eclipse. I will start first with Windows, and then do the same thing in Ubuntu. My eclipse seems …

Member Avatar for JamesCherrill
0
300
Member Avatar for Ghast

I want to create a program to delete a partition using VB.NET or CSharp.NET But I have no idea how to do it. I know a big portion of VB.NET now and not this. I can´t find it on the whole internet and this website is my best bet.

Member Avatar for Ghast
0
299
Member Avatar for Saboor880

Hi to all! I made a class named “Database” I called openOrCreateDatabase in in its constructor but it was giving error. Then I searched on internet and got a solution that in case of non activity class I should also pass context. Then I passed context but then I am …

Member Avatar for rproffitt
0
3K
Member Avatar for Isky

Hi, I'm new to this Java world, and just can't figure out this problem. After I use nextInt or nextDouble, and try to use nextLine, it won't work unless I put nextLine twice. What's the problem there, and what would be the good way to handle this? Just gave a …

Member Avatar for stultuske
0
21K
Member Avatar for Tom_15

Hi: I wasn't able to find the exact solution to my problem on Daniweb, although there are several posts regarding the game of life. This situation came the closest: http://www.daniweb.com/software-development/cpp/threads/242338 My situation is a bit different because I HAVE to use a combination of functions and a class in the …

Member Avatar for Reverend Jim
0
2K
Member Avatar for Latrell_vie

Hi ! I'm including the following jquery slider plugin into my website. Unfortunatly I still don't know how to change certain parameters like displayList, adaptive Height etc. The author says you can add these options during the slider initialization to customize it. I'm furthering my jquery knowledge but for now …

Member Avatar for Community_1
0
1K
Member Avatar for xuexue

Hi Guys! This code is working fine before I removed other programs from my computer since it is already getting slow. Now, i don't know which program I've deleted that I needed to restore again. Error Code Says: `The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.` I am …

Member Avatar for xuexue
0
135
Member Avatar for Jon_7

I have a list of 4 upcoming events with a fair amount of detail for each. I'd like for the upcoming event to be first one the list no matter the time of year. I'm not very good at code, but I follow instruction well. Here's what I was thinking: …

Member Avatar for Jon_7
0
492
Member Avatar for Suzie999

Here is example class, the commented code in constructor works as well as the initializer. My question is, what is the correct way? class NClass { public: int _pid; std::wstring _name; NClass(int pid, wchar_t * name) : _name(name) { //_name = name; } void Print() { std::wcout << _name; std::getchar(); …

Member Avatar for Suzie999
0
3K
Member Avatar for Tom_15

I need help inserting the assert function within my code, and creating the neighborcount function as listed below, heres the guidelines: default constructor: initialize all of the array elements to false get: return the current contents of a single array element. Use arguments to indicate the row and column of …

Member Avatar for Tom_15
0
696
Member Avatar for Saboor880

hi to all! i have installed android studio, my sdk path is C:\ androidsdk\sdk\sdk . my android studio installed successfully. but after installation when android studio opens then in event log tab an error message appears: Grade sync failed: Cause: failed to find target with hash string ' android-19' in …

Member Avatar for rubberman
0
417
Member Avatar for Mr.M

Hi Dw. I have a MySql server database, and I'm polling data from the database. The problem I'm getting is that when I'm retrieving users activities I only get the first record only which is on `Row(0)` or the first record with that username. Suppose I have a database like …

Member Avatar for Mr.M
0
328
Member Avatar for Faisal_13

Dear devolepers, I have problem with my sql database, I want acces my sql database in my <LI> list plaese help to resolve this problem Here is my html sql database : my_db table : info_list Table columns : id,name,job,town,mobile1,mobile2,phone,adress i want to display town list in this <li> list …

Member Avatar for cereal
0
2K
Member Avatar for Nareshp_123

Hi all, I want to have a button in a page like 'open File'. on which if user clicks, it should open open file dialog box to select a file and as soon as he clicks on the open button it should open the file (in same window or different …

Member Avatar for Ankur_6
0
4K
Member Avatar for uselessninja

hi...i've research fusion chart... and i find it nice .. I would like to retrieve from my database(SQL) and graph it using php is there anybody here experience working with fusion chart and php?...

Member Avatar for Ankita_11
0
908
Member Avatar for Saboor880

Hello to all! I know well how to access database and its tables from sql server in Netbeans, But know I need to access a report from sql server in Netbeans. For example if I have a table named "MyTable" in sql server 2008 and then I ran a query …

Member Avatar for stultuske
0
217
Member Avatar for AssertNull

I am pretty much brand new to Python. I'm cramming this week trying to learn it and I've been handed some code samples to try them out and familiarize myself with them. Problem is that they were written years ago in Python 2. It's my own C++ code that I …

Programming python
Member Avatar for AssertNull
0
1K
Member Avatar for RudyM

Hi all, This is a very elementary question, but I'm a couple of days into this. Which web.config file should one store keys in? Keys to use within a Model/Controller? I see four different ones: Project > Views > Web.config Project > Web.config Project > Web.config > Web.Debug.config Project > …

Member Avatar for RudyM
0
303
Member Avatar for Oxley_1

I am banging my head again, and appologise if such a qestion has been posted and answered - i searched and could not see any results matching my question. I have a datagridview1 full of data, one column has a date and another a qty. datagridview1 Date Qty 2015-11-05 | …

Member Avatar for rproffitt
0
275
Member Avatar for Goddy_1

Customers pick When finished If on the book, such as the selection of Van Dyke VT01 from 1/07/59 - 2/07/59-day period, you will not be able to book your car again. It is based on the availability of the vehicle. I made a separate table Storage booking Van table separately …

Member Avatar for cereal
0
176
Member Avatar for Abhi_6

I have an Array containing arrays with 8 values, I want to group **date** element having same **teacher_name**, **school_name** and **month_year**. Below is my array: Array ( [0] => Array ( [teacher_name] => CF [school_name] => School 1 [month_year] => Jun 16 [starttime] => 04:04 PM [endtime] => 05:04 PM …

Member Avatar for diafol
0
296
Member Avatar for Suzie999

I'm having trouble calling unmanaged dll function from the windows win32 apis. I've tried many ways, but the following was my first and what I think should work. using System.Diagnostics; using System.Runtime.InteropServices; namespace Win32DllImports { class Program { [DllImport("Urlmon", EntryPoint = "ObtainUserAgentString", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Ansi)] private static …

Member Avatar for Suzie999
0
386
Member Avatar for Nether_1

I'm writing a simple server allowing me and my friends to send information to each other. Currently I've got the client down easy enough, it's all set up and I can communicate with servers. The problem is I can't get the server to work for some reason, I use working …

Member Avatar for Nether_1
0
351
Member Avatar for Papa_Don

Hi group, I've looked all over the internet to find my solution without luck. Hopefully you can help. I need to add an Oracle server to my data sources in Visual Studio (if it matters, I'm using VB.net). Per the best instructions I've found so far, I've selected "Data Sources" …

Member Avatar for Papa_Don
0
468
Member Avatar for gahhon

In JS i tried something like this, window.onbeforeunload = function() { window.open('http://www.msn.com','_self'); return 'close?'; } but it doesn't redirect the page, but the return statement is displayed. how can i do to archieve redirect a specify page without any alert?

Member Avatar for sunil_17
0
2K
Member Avatar for Violet_82

Chaps, I wonder if you can give me a hand with this. Here's the brief: "Create a program that draws 10 random filled shapes in random colors, position and sizes. Method paintcomponent should contain a loop that iterates 10 times. In each iteration, the loop should determine whether to draw …

Member Avatar for Verse_1
3
5K
Member Avatar for Josh_2

Hello all I have a chat room application where clients connect to server and can chat between each other, I am also trying to add a feature where a client can request a file from the server sucha s an image sound file or video I am trying to convert …

Member Avatar for Josh_2
0
1K
Member Avatar for AssertNull

Okay, I am trying to learn Windows programming and there are all sorts of new data types that I am running into and need to learn. I'm trying to understand the point of it all and failing. If there is no point and it's just Microsoft making things difficult for …

Member Avatar for rproffitt
0
369
Member Avatar for SimonIoa

Hello this is going to be a long post so thanks in advance for just reading it. I think it will help many users. I want to store additional data and to add new rows to a table. I know about mysql and php but i am not familiar with …

Member Avatar for SimonIoa
0
382
Member Avatar for AssertNull

OK, I programmed a few DLLs using Linux years back. My memory (and my memory could be faulty), was that I had the program decide which dll to load based on user input. So I had two dlls, each with a `string encrypt(string, string)`function. The user was asked to specify …

Member Avatar for AssertNull
0
238
Member Avatar for showman13

I have been all over the internet trying to figure out how to plan an embedded youtube video in full screen automatically and have failed at every turn. Any ideas here? <iframe src="//www.youtube.com/embed/9ptECXgpIwk?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe> several links on the web say that the rel=0 is what makes it happen, but …

Member Avatar for showman13
0
3K
Member Avatar for Stefce

$sql = "INSERT INTO kladilnica (Username, Uplata, Dobivka, Date, regTime, Odds, isActive, ticket_id, isShared, is_wined, Location) VALUES ('".$user."', '".$bet."', '".$gain."', '".$date."', '".$regTime."' '".$odds."', 1, $randomTicketID, 0, 0, '".$userLocation."')"; $result = $conn->query($sql); trigger_error('Wrong SQL: ' . $sql . ' Error: ' . $conn->error, E_USER_ERROR); I searched on google and found that …

Member Avatar for Stefce
0
982
Member Avatar for James_43

Hi all, Say I have a table called "posts" with thousands of records. For each user, I want to display the top 10 most recent posts. I would normally use: `select * from posts order by created_date desc limit 10` However, doesn't this select ALL records and then removes all …

Member Avatar for ryantroop
0
192
Member Avatar for A_6

The code is: `echo " AS " . $index - 10 . " - " . $index . " SA ";` `$index` is an integer. The output is: `-10 - 0 SA` The expected output is: `AS -10 - 0 SA` What am I missing?

Member Avatar for cereal
0
259
Member Avatar for Ritesh_4

Hello, I have to install Oracle Developer 2000 R2.1 on a Windows 8.1 (x64) machine to run an application developed by a third party developer, but my installation keeps on crashing. Tried running in Windows XP SP3 compatibility mode still same result. The error is as follows: "D2KQT10.ins(54): 'Statement' expected …

Member Avatar for rproffitt
0
2K
Member Avatar for tkpanther

Hello, it is me once more. I am using Python 2.3, and I must use Zelle's graphics class (and I must agree with many of you. Tkinter is much better). We have been tasked with creating a Graphical Scientific Calculator. In addition to the normal operators, it must contain the …

Member Avatar for Gribouillis
0
22K
Member Avatar for donz365

Hi, I am gone crosseyed from trying to figure this out. I dont ususally post on this site I am half scared of getting told off for being out of my league!!! I am creating a website for a training company and I need to get the course info from …

Member Avatar for cereal
0
11K

The End.