Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

Text Editor Help. I cant save the files?

This is a simple text editor I am writing and the OnSave function wont seem to work. I am writing this half so I can learn python and half to make my own custom codding text editor. What have I done...

View Article


Get the path from FolderBrowseDialog from another form.

Hi. How can I get the path selected by the FolderBrowseDialog from Form1 into Form2? Form1.cs public partial class Form1 : Form { public Form1() { InitializeComponent(); } public string path; private...

View Article


extracting Substrings from Multiline textbox

Hi I tried to extract some substrings from a multiline textbox using the Instr function, But it is not working... Private Function GetBetween(ByVal Start As Long, Data As String, Startstr As String,...

View Article

Image may be NSFW.
Clik here to view.

There has to be a better way to do this...

I have this block of code that works perfectly and does exactly what I need it to do, but I feel like it's a dirty, awful hack of a solution and there must be a better way to get it to work. What I'm...

View Article

Image may be NSFW.
Clik here to view.

XNA - how to move skinned model-and merge animations

I've wrote some code for my game and made 3D model with animation. Because XNA 4.0 doesn't support .fbx with multiple animations I've generated 3 model files with different animations: 1. Start...

View Article


GPU Slower than CPU?

Hello everyone, I'm new to this forum so please forgive me if this is the wrong place to ask this question. About two weeks ago I started working on a 2D particle system. I had finished it using the...

View Article

Image may be NSFW.
Clik here to view.

Do not understand why the library is not working when imported

Here is my code: package stilltryin; import java.awt.event.*; import java.awt.*; import javax.swing.*; public class StillTryin{ frame();} public void frame(){ JFrame f = new JFrame();...

View Article

Problem: .NET doesn't generate <Reference> tag for <Bi

Hi everyone! I'm working on a .NET app that calls a Java Web service. .NET is generating the <BinarySecurityToken> of the SOAP request: <wsse:BinarySecurityToken...

View Article


how can we auto generate ID on a button click and display in textfield

public class CalendarUtil { private Calendar cal = null; public String getRemId() { cal = Calendar.getInstance(); return "" + cal.get(Calendar.DATE) + (cal.get(Calendar.MONTH)+1) +...

View Article


Image may be NSFW.
Clik here to view.

Display a message in html?

Hello DIC, I've been searching for quite few hours so I guess I'm safe to post a thread on my favorite programming website, I've been working on a user system, a lot of it is done through tutorials...

View Article

How to set Combo box Item index

Suppose i have this line of code Me.ComboBox1.Items.Insert(0, ("Zion")) Me.ComboBox1.Items.Insert(1, "Able") Me.ComboBox1.Items.Insert(2, "Dan") Me.ComboBox1.Items.Insert(3, "Moses")...

View Article

What is source code? GPL

What is source code? Stupid question, right? Wikipedia defines source code as any collection of computer instructions (possibly with comments) written using some human-readable computer language,...

View Article

Alternative implementation of std::ptr_fun

Yo people! I'm playing around with the Visual Studio C++ Nov CTP compiler and came up with an interesting implementation of what ended up being std::ptr_fun (Still working on the return type), but with...

View Article


removing console window that GTK ,is it possible?

I've been annoyed for a while by the illusive console window,that's why I tried some GUI libraries out,after deciding to use GTK, as it is very simple to use,but somehow the illusive console window...

View Article

Illegal Start of Type Compile-Time Error

I'm getting the most confounding error. The first command prompt error (caught by holding the scroll bar in the middle of compiling) reads QuoteSaveChristmas.java:27026: error: illegal start of...

View Article


PYTHON 3.3 + GUI + COMPILE

Morning, I have been looking for a library solution of both GUI and Compiler but for Python 3.3 and ofcourse i was hoping for a combination that would be most compatible between them. After searching i...

View Article

File reading problem

Basically, why is in.ignore('v'); in.ignore(' '); sscanf(c,"%f %f %f",&f1,&f2,&f3); not the same as sscanf(c,"v %f %f %f",&f1,&f2,&f3); when reading the line (from file) v...

View Article


How to margin text in textfield

Normally, The Text in textfield border stand side by side. How to margin text with textfield left border ?

View Article

Image may be NSFW.
Clik here to view.

Quick Question

I'm testing a very simple polymorphic program, that uses strings and an int, but for some reason strings show as empty spaces only. Am I forgetting something or strings cannot be used in polymorphic...

View Article

ASP.NET with VB.NET, trying to connect to remote MySQL database

I have many years of experience with VB.NET but I am relatively new to ASP.NET. This is my first post here. I am trying to connect to a remote MySQL database with an ASP.NET page with VB.NET code...

View Article
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>